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