Changes in uspace/lib/fs/libfs.c [faba839:5bf76c1] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    rfaba839 r5bf76c1  
    320320        if (rc != EOK) {
    321321                async_exchange_end(exch);
    322                 async_forget(req);
     322                async_wait_for(req, NULL);
    323323                return rc;
    324324        }
     
    336336       
    337337        /*
     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        /*
    338348         * Request sharing the Path Lookup Buffer with VFS.
    339349         */
    340         rc = async_share_in_start_0_0(exch, PLB_SIZE, (void *) &reg.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);
    346351       
    347352        async_exchange_end(exch);
    348353       
    349354        if (rc) {
    350                 async_forget(req);
     355                async_wait_for(req, NULL);
    351356                return rc;
    352357        }
     
    404409       
    405410        async_exch_t *exch = async_exchange_begin(mountee_sess);
    406         async_sess_t *sess = async_clone_establish(EXCHANGE_PARALLEL, exch);
     411        async_sess_t *sess = async_connect_me(EXCHANGE_PARALLEL, exch);
    407412       
    408413        if (!sess) {
Note: See TracChangeset for help on using the changeset viewer.