Changes in uspace/lib/c/generic/vbd.c [cde999a:372df8f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vbd.c
rcde999a r372df8f 33 33 */ 34 34 35 #include <abi/ipc/interfaces.h>36 35 #include <errno.h> 37 36 #include <ipc/services.h> … … 66 65 } 67 66 68 vbd->sess = loc_service_connect( vbd_svcid, INTERFACE_VBD,67 vbd->sess = loc_service_connect(EXCHANGE_SERIALIZE, vbd_svcid, 69 68 IPC_FLAG_BLOCKING); 70 69 if (vbd->sess == NULL) { … … 95 94 * @param count Place to store length of array (number of entries) 96 95 * 97 * @return EOK on success or anerror code96 * @return EOK on success or negative error code 98 97 */ 99 98 int vbd_get_disks(vbd_t *vbd, service_id_t **data, size_t *count) … … 106 105 { 107 106 async_exch_t *exch; 108 int retval;107 sysarg_t retval; 109 108 ipc_call_t answer; 110 109 … … 165 164 * @param act_size Place to store actual size of complete data. 166 165 * 167 * @return EOK on success or anerror code.166 * @return EOK on success or negative error code. 168 167 */ 169 168 static int vbd_get_ids_once(vbd_t *vbd, sysarg_t method, sysarg_t arg1, … … 183 182 } 184 183 185 int retval;184 sysarg_t retval; 186 185 async_wait_for(req, &retval); 187 186 … … 203 202 * @param data Place to store pointer to array of IDs 204 203 * @param count Place to store number of IDs 205 * @return EOK on success or anerror code204 * @return EOK on success or negative error code 206 205 */ 207 206 static int vbd_get_ids_internal(vbd_t *vbd, sysarg_t method, sysarg_t arg1, … … 247 246 * @param count Place to store length of array (number of entries) 248 247 * 249 * @return EOK on success or anerror code248 * @return EOK on success or negative error code 250 249 */ 251 250 int vbd_label_get_parts(vbd_t *vbd, service_id_t disk, … … 259 258 { 260 259 async_exch_t *exch; 261 int retval;260 sysarg_t retval; 262 261 ipc_call_t answer; 263 262 … … 283 282 { 284 283 async_exch_t *exch; 285 int retval;284 sysarg_t retval; 286 285 ipc_call_t answer; 287 286 … … 332 331 * @param ptype Place to store suggested partition type 333 332 * 334 * @return EOK on success or anerror code333 * @return EOK on success or negative error code 335 334 */ 336 335 int vbd_suggest_ptype(vbd_t *vbd, service_id_t disk, label_pcnt_t pcnt, … … 338 337 { 339 338 async_exch_t *exch; 340 int retval;339 sysarg_t retval; 341 340 ipc_call_t answer; 342 341
Note:
See TracChangeset
for help on using the changeset viewer.