Changeset db96017 in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2012-04-07T17:41:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6913b7
Parents:
b69e4c0 (diff), 6bb169b5 (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/srv/vfs/vfs.c

    rb69e4c0 rdb96017  
    127127                        vfs_wait_handle(callid, &call);
    128128                        break;
     129                case VFS_IN_MTAB_GET:
     130                        vfs_get_mtab(callid, &call);
     131                        break;
    129132                default:
    130133                        async_answer_0(callid, ENOTSUP);
     
    169172         * Allocate and initialize the Path Lookup Buffer.
    170173         */
    171         plb = as_get_mappable_page(PLB_SIZE);
    172         if (!plb) {
    173                 printf(NAME ": Cannot allocate a mappable piece of address space\n");
    174                 return ENOMEM;
    175         }
    176        
    177         if (as_area_create(plb, PLB_SIZE, AS_AREA_READ | AS_AREA_WRITE |
    178             AS_AREA_CACHEABLE) != plb) {
     174        plb = as_area_create((void *) -1, PLB_SIZE,
     175            AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE);
     176        if (plb == (void *) -1) {
    179177                printf(NAME ": Cannot create address space area\n");
    180178                return ENOMEM;
Note: See TracChangeset for help on using the changeset viewer.