Changes in uspace/lib/fs/libfs.c [2d884ab:fbcdeb8] in mainline
- File:
-
- 1 edited
-
uspace/lib/fs/libfs.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fs/libfs.c
r2d884ab rfbcdeb8 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 } … … 339 339 */ 340 340 rc = async_share_in_start_0_0(exch, PLB_SIZE, (void *) ®.plb_ro); 341 if (reg.plb_ro == AS_MAP_FAILED) {341 if (reg.plb_ro == (void *) -1) { 342 342 async_exchange_end(exch); 343 async_ forget(req);343 async_wait_for(req, NULL); 344 344 return ENOMEM; 345 345 } … … 348 348 349 349 if (rc) { 350 async_ forget(req);350 async_wait_for(req, NULL); 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 lone_establish(EXCHANGE_PARALLEL, exch);406 async_sess_t *sess = async_connect_me(EXCHANGE_PARALLEL, exch); 407 407 408 408 if (!sess) { … … 631 631 async_answer_0(rid, rc); 632 632 } else { 633 (void) ops->node_put(cur); 634 cur = fn; 635 goto out_with_answer; 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); 636 641 } 637 642 } else … … 710 715 async_answer_0(rid, rc); 711 716 } else { 712 (void) ops->node_put(cur); 713 cur = fn; 714 goto out_with_answer; 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); 715 725 } 716 726 } else
Note:
See TracChangeset
for help on using the changeset viewer.
