Changeset f17667a in mainline for uspace/srv/vfs/vfs_register.c


Ignore:
Timestamp:
2008-02-17T13:32:53Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2616965d
Parents:
b5553a2
Message:

Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).

Cleanup VFS operations enums and remove unneeded VFS operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_register.c

    rb5553a2 rf17667a  
    105105        if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_LOOKUP)] != VFS_OP_DEFINED) {
    106106                dprintf("Operation VFS_LOOKUP not defined by the client.\n");
    107                 return false;
    108         }
    109         if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_OPEN)] != VFS_OP_DEFINED) {
    110                 dprintf("Operation VFS_OPEN not defined by the client.\n");
    111                 return false;
    112         }
    113         if (info->ops[IPC_METHOD_TO_VFS_OP(VFS_CLOSE)] != VFS_OP_DEFINED) {
    114                 dprintf("Operation VFS_CLOSE not defined by the client.\n");
    115107                return false;
    116108        }
Note: See TracChangeset for help on using the changeset viewer.