Changeset cad9c72 in mainline for uspace/srv/vfs/vfs_ops.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/vfs/vfs_ops.c
r861e7d1 rcad9c72 746 746 * Check if the FS implements mandatory VFS operations. 747 747 */ 748 if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_REGISTER)] != VFS_OP_DEFINED) {749 dprintf("Operation VFS_REGISTER not defined by the client.\n");750 return false;751 }752 if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_MOUNT)] != VFS_OP_DEFINED) {753 dprintf("Operation VFS_MOUNT not defined by the client.\n");754 return false;755 }756 if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_UNMOUNT)] != VFS_OP_DEFINED) {757 dprintf("Operation VFS_UNMOUNT not defined by the client.\n");758 return false;759 }760 748 if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] != VFS_OP_DEFINED) { 761 749 dprintf("Operation VFS_LOOKUP not defined by the client.\n"); … … 778 766 * Check if each operation is either not defined, defined or default. 779 767 */ 780 for (i = VFS_FIRST; i < VFS_LAST ; i++) {768 for (i = VFS_FIRST; i < VFS_LAST_CLNT; i++) { 781 769 if ((info->ops[IPC_METHOD_TO_VFS_OP(i)] != VFS_OP_NULL) && 782 770 (info->ops[IPC_METHOD_TO_VFS_OP(i)] != VFS_OP_DEFAULT) &&
Note:
See TracChangeset
for help on using the changeset viewer.