Changeset cad9c72 in mainline for uspace/srv/fs/tmpfs/tmpfs.c
- Timestamp:
- 2008-01-08T21:58:58Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb27ce5a
- Parents:
- 861e7d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.c
r861e7d1 rcad9c72 1 1 /* 2 2 * Copyright (c) 2006 Martin Decky 3 * Copyright (c) 200 7Jakub Jermar3 * Copyright (c) 2008 Jakub Jermar 4 4 * All rights reserved. 5 5 * … … 55 55 .name = "tmpfs", 56 56 .ops = { 57 [IPC_METHOD_TO_VFS_OP(VFS_REGISTER)] = VFS_OP_DEFINED,58 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,59 [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_DEFINED,60 57 [IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] = VFS_OP_DEFINED, 61 58 [IPC_METHOD_TO_VFS_OP(VFS_OPEN)] = VFS_OP_DEFINED, 62 [IPC_METHOD_TO_VFS_OP(VFS_CREATE)] = VFS_OP_DEFINED,63 59 [IPC_METHOD_TO_VFS_OP(VFS_CLOSE)] = VFS_OP_DEFINED, 64 60 [IPC_METHOD_TO_VFS_OP(VFS_READ)] = VFS_OP_DEFINED, 65 61 [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_DEFINED, 66 [IPC_METHOD_TO_VFS_OP(VFS_SEEK)] = VFS_OP_DEFAULT 62 [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_NULL, 63 [IPC_METHOD_TO_VFS_OP(VFS_RENAME)] = VFS_OP_NULL, 64 [IPC_METHOD_TO_VFS_OP(VFS_OPENDIR)] = VFS_OP_NULL, 65 [IPC_METHOD_TO_VFS_OP(VFS_READDIR)] = VFS_OP_NULL, 66 [IPC_METHOD_TO_VFS_OP(VFS_CLOSEDIR)] = VFS_OP_NULL, 67 [IPC_METHOD_TO_VFS_OP(VFS_UNLINK)] = VFS_OP_NULL, 68 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_NULL, 69 [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL, 67 70 } 68 71 }; … … 107 110 callid = async_get_call(&call); 108 111 switch (IPC_GET_METHOD(call)) { 109 case VFS_REGISTER:110 ipc_answer_0(callid, EOK);111 break;112 112 case VFS_LOOKUP: 113 113 tmpfs_lookup(callid, &call);
Note:
See TracChangeset
for help on using the changeset viewer.