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


Ignore:
File:
1 edited

Legend:

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

    r5bf76c1 rfbcdeb8  
    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.