Changeset b7a4d06 in mainline for uspace/srv/volsrv/disk.c
- Timestamp:
- 2015-07-18T12:55:12Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c43db5f
- Parents:
- 70815a24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/disk.c
r70815a24 rb7a4d06 271 271 } 272 272 273 int vol_disk_empty (vol_disk_t *disk)273 int vol_disk_empty_disk(vol_disk_t *disk) 274 274 { 275 275 int rc; … … 286 286 } 287 287 288 int vol_disk_get_info(vol_disk_t *disk, vol_disk_info_t *dinfo) 289 { 290 vbd_disk_info_t vdinfo; 291 int rc; 292 293 dinfo->dcnt = disk->dcnt; 294 295 if (disk->dcnt == dc_label) { 296 rc = vbd_disk_info(vbd, disk->svc_id, &vdinfo); 297 if (rc != EOK) 298 return rc; 299 300 dinfo->ltype = vdinfo.ltype; 301 dinfo->flags = vdinfo.flags; 302 } 303 304 return EOK; 305 } 306 288 307 289 308 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.