Changes in uspace/lib/fs/libfs.c [faba839:5bf76c1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fs/libfs.c
rfaba839 r5bf76c1 320 320 if (rc != EOK) { 321 321 async_exchange_end(exch); 322 async_ forget(req);322 async_wait_for(req, NULL); 323 323 return rc; 324 324 } … … 336 336 337 337 /* 338 * Allocate piece of address space for PLB. 339 */ 340 reg.plb_ro = as_get_mappable_page(PLB_SIZE); 341 if (!reg.plb_ro) { 342 async_exchange_end(exch); 343 async_wait_for(req, NULL); 344 return ENOMEM; 345 } 346 347 /* 338 348 * Request sharing the Path Lookup Buffer with VFS. 339 349 */ 340 rc = async_share_in_start_0_0(exch, PLB_SIZE, (void *) ®.plb_ro); 341 if (reg.plb_ro == AS_MAP_FAILED) { 342 async_exchange_end(exch); 343 async_forget(req); 344 return ENOMEM; 345 } 350 rc = async_share_in_start_0_0(exch, reg.plb_ro, PLB_SIZE); 346 351 347 352 async_exchange_end(exch); 348 353 349 354 if (rc) { 350 async_ forget(req);355 async_wait_for(req, NULL); 351 356 return rc; 352 357 } … … 404 409 405 410 async_exch_t *exch = async_exchange_begin(mountee_sess); 406 async_sess_t *sess = async_c lone_establish(EXCHANGE_PARALLEL, exch);411 async_sess_t *sess = async_connect_me(EXCHANGE_PARALLEL, exch); 407 412 408 413 if (!sess) {
Note:
See TracChangeset
for help on using the changeset viewer.