Changeset 64b67c3 in mainline for uspace/srv/fs/tmpfs/tmpfs.c


Ignore:
Timestamp:
2008-05-18T21:58:54Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
92f9baca
Parents:
ce7311fc
Message:

Make VFS_MOUNT call even when mounting the root file system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.c

    rce7311fc r64b67c3  
    5959                [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_DEFINED,
    6060                [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_DEFINED,
    61                 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_NULL,
     61                [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,
    6262                [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL,
    6363                [IPC_METHOD_TO_VFS_OP(VFS_DESTROY)] = VFS_OP_DEFINED,
     
    104104                callid = async_get_call(&call);
    105105                switch  (IPC_GET_METHOD(call)) {
     106                case VFS_MOUNT:
     107                        tmpfs_mount(callid, &call);
     108                        break;
    106109                case VFS_LOOKUP:
    107110                        tmpfs_lookup(callid, &call);
Note: See TracChangeset for help on using the changeset viewer.