Changeset edebb4a1 in mainline for uspace/lib/c/generic/vol.c
- Timestamp:
- 2015-10-14T22:30:12Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea0ff6b
- Parents:
- 4b6635a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vol.c
r4b6635a7 redebb4a1 188 188 } 189 189 190 /** Add partition. 191 * 192 * After a partition is created (e.g. as a result of deleting a label 193 * the dummy partition is created), it can take some (unknown) time 194 * until it is discovered. 195 */ 196 int vol_part_add(vol_t *vol, service_id_t sid) 197 { 198 async_exch_t *exch; 199 int retval; 200 201 exch = async_exchange_begin(vol->sess); 202 retval = async_req_1_0(exch, VOL_PART_ADD, sid); 203 async_exchange_end(exch); 204 205 if (retval != EOK) 206 return retval; 207 208 return EOK; 209 } 210 190 211 /** Get partition information. */ 191 212 int vol_part_info(vol_t *vol, service_id_t sid, vol_part_info_t *vinfo)
Note:
See TracChangeset
for help on using the changeset viewer.