Changeset f17667a in mainline for uspace/srv/vfs/vfs.h


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.h

    rb5553a2 rf17667a  
    4848
    4949typedef enum {
    50         VFS_OPEN = VFS_FIRST,
    51         VFS_CLOSE,
    52         VFS_READ,
     50        VFS_READ = VFS_FIRST,
    5351        VFS_WRITE,
    5452        VFS_TRUNCATE,
    55         VFS_RENAME,
    56         VFS_OPENDIR,
    57         VFS_READDIR,
    58         VFS_CLOSEDIR,
    59         VFS_MKDIR,
    60         VFS_UNLINK,
    6153        VFS_MOUNT,
    6254        VFS_UNMOUNT,
     
    6658typedef enum {
    6759        VFS_LOOKUP = VFS_LAST_CMN,
     60        VFS_FREE,
    6861        VFS_LAST_CLNT,  /* keep this the last member of this enum */
    6962} vfs_request_clnt_t;
     
    7164typedef enum {
    7265        VFS_REGISTER = VFS_LAST_CMN,
     66        VFS_OPEN,
     67        VFS_CLOSE,
    7368        VFS_SEEK,
     69        VFS_MKDIR,
     70        VFS_UNLINK,
     71        VFS_RENAME,
    7472        VFS_LAST_SRV,   /* keep this the last member of this enum */
    7573} vfs_request_srv_t;
Note: See TracChangeset for help on using the changeset viewer.