Changeset 603c1d1f in mainline for uspace/srv/volsrv/volsrv.c
- Timestamp:
- 2015-07-05T18:53:00Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf7ddde
- Parents:
- 99c23405
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/volsrv.c
r99c23405 r603c1d1f 146 146 } 147 147 148 disk->dcnt = dc_label; 149 disk->ltype = ltype; 148 rc = vol_disk_label_create(disk, ltype); 149 if (rc != EOK) { 150 async_answer_0(iid, EIO); 151 return; 152 } 150 153 151 154 async_answer_0(iid, EOK); … … 166 169 } 167 170 168 disk->dcnt = dc_empty; 171 rc = vol_disk_empty(disk); 172 if (rc != EOK) { 173 async_answer_0(iid, EIO); 174 return; 175 } 169 176 170 177 async_answer_0(iid, EOK);
Note:
See TracChangeset
for help on using the changeset viewer.