Changeset cad9c72 in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2008-01-08T21:58:58Z (16 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/fat/fat.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 * … … 51 51 .name = "fat", 52 52 .ops = { 53 [IPC_METHOD_TO_VFS_OP(VFS_REGISTER)] = VFS_OP_DEFINED,54 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_DEFINED,55 [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_DEFINED,56 53 [IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] = VFS_OP_DEFINED, 57 54 [IPC_METHOD_TO_VFS_OP(VFS_OPEN)] = VFS_OP_DEFINED, 58 [IPC_METHOD_TO_VFS_OP(VFS_CREATE)] = VFS_OP_DEFINED,59 55 [IPC_METHOD_TO_VFS_OP(VFS_CLOSE)] = VFS_OP_DEFINED, 60 56 [IPC_METHOD_TO_VFS_OP(VFS_READ)] = VFS_OP_DEFINED, 61 57 [IPC_METHOD_TO_VFS_OP(VFS_WRITE)] = VFS_OP_NULL, 62 [IPC_METHOD_TO_VFS_OP(VFS_SEEK)] = VFS_OP_DEFAULT 58 [IPC_METHOD_TO_VFS_OP(VFS_TRUNCATE)] = VFS_OP_NULL, 59 [IPC_METHOD_TO_VFS_OP(VFS_RENAME)] = VFS_OP_NULL, 60 [IPC_METHOD_TO_VFS_OP(VFS_OPENDIR)] = VFS_OP_NULL, 61 [IPC_METHOD_TO_VFS_OP(VFS_READDIR)] = VFS_OP_NULL, 62 [IPC_METHOD_TO_VFS_OP(VFS_CLOSEDIR)] = VFS_OP_NULL, 63 [IPC_METHOD_TO_VFS_OP(VFS_UNLINK)] = VFS_OP_NULL, 64 [IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] = VFS_OP_NULL, 65 [IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] = VFS_OP_NULL, 63 66 } 64 67 }; … … 102 105 callid = async_get_call(&call); 103 106 switch (IPC_GET_METHOD(call)) { 104 case VFS_REGISTER:105 ipc_answer_0(callid, EOK);106 break;107 107 case VFS_LOOKUP: 108 108 fat_lookup(callid, &call);
Note:
See TracChangeset
for help on using the changeset viewer.