Changeset 153cc76a in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2011-12-23T16:42:22Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e1b130
Parents:
4291215 (diff), 2f0dd2a (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:

Mainline changes.

File:
1 edited

Legend:

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

    r4291215 r153cc76a  
    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 == (void *) -1) {
    342342                async_exchange_end(exch);
    343343                async_wait_for(req, NULL);
    344344                return ENOMEM;
    345345        }
    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);
    351346       
    352347        async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.