Changes in uspace/lib/fs/libfs.c [fbcdeb8:2d884ab] in mainline
- File:
-
- 1 edited
-
uspace/lib/fs/libfs.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fs/libfs.c
rfbcdeb8 r2d884ab 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 } … … 339 339 */ 340 340 rc = async_share_in_start_0_0(exch, PLB_SIZE, (void *) ®.plb_ro); 341 if (reg.plb_ro == (void *) -1) {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 } … … 348 348 349 349 if (rc) { 350 async_ wait_for(req, NULL);350 async_forget(req); 351 351 return rc; 352 352 } … … 404 404 405 405 async_exch_t *exch = async_exchange_begin(mountee_sess); 406 async_sess_t *sess = async_c onnect_me(EXCHANGE_PARALLEL, exch);406 async_sess_t *sess = async_clone_establish(EXCHANGE_PARALLEL, exch); 407 407 408 408 if (!sess) { … … 631 631 async_answer_0(rid, rc); 632 632 } else { 633 aoff64_t size = ops->size_get(fn); 634 async_answer_5(rid, fs_handle, 635 service_id, 636 ops->index_get(fn), 637 LOWER32(size), 638 UPPER32(size), 639 ops->lnkcnt_get(fn)); 640 (void) ops->node_put(fn); 633 (void) ops->node_put(cur); 634 cur = fn; 635 goto out_with_answer; 641 636 } 642 637 } else … … 715 710 async_answer_0(rid, rc); 716 711 } else { 717 aoff64_t size = ops->size_get(fn); 718 async_answer_5(rid, fs_handle, 719 service_id, 720 ops->index_get(fn), 721 LOWER32(size), 722 UPPER32(size), 723 ops->lnkcnt_get(fn)); 724 (void) ops->node_put(fn); 712 (void) ops->node_put(cur); 713 cur = fn; 714 goto out_with_answer; 725 715 } 726 716 } else
Note:
See TracChangeset
for help on using the changeset viewer.
