Changeset 6843a9c in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2012-06-29T13:02:14Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
722912e
Parents:
ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Trivial conflicts.

File:
1 edited

Legend:

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

    rba72f2b r6843a9c  
    320320        if (rc != EOK) {
    321321                async_exchange_end(exch);
    322                 async_wait_for(req, NULL);
     322                async_forget(req);
    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) {
     338         * Request sharing the Path Lookup Buffer with VFS.
     339         */
     340        rc = async_share_in_start_0_0(exch, PLB_SIZE, (void *) &reg.plb_ro);
     341        if (reg.plb_ro == AS_MAP_FAILED) {
    342342                async_exchange_end(exch);
    343                 async_wait_for(req, NULL);
     343                async_forget(req);
    344344                return ENOMEM;
    345345        }
    346346       
    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        
    352347        async_exchange_end(exch);
    353348       
    354349        if (rc) {
    355                 async_wait_for(req, NULL);
     350                async_forget(req);
    356351                return rc;
    357352        }
     
    409404       
    410405        async_exch_t *exch = async_exchange_begin(mountee_sess);
    411         async_sess_t *sess = async_connect_me(EXCHANGE_PARALLEL, exch);
     406        async_sess_t *sess = async_clone_establish(EXCHANGE_PARALLEL, exch);
    412407       
    413408        if (!sess) {
Note: See TracChangeset for help on using the changeset viewer.