Changeset 7943c43 in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2012-01-16T22:45:38Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32817cc, 3fe58d3c
Parents:
9117ef9b (diff), 3ea725e (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.

File:
1 edited

Legend:

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

    r9117ef9b r7943c43  
    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.