NFS: Create NFS_ACCESS_* flags
Passing the NFS v4 flags into the v3 code seems weird to me, even if they are defined to the same values. This patch adds in generic flags to help me feel better Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
@@ -183,6 +183,16 @@ struct nfs_inode {
|
||||
struct inode vfs_inode;
|
||||
};
|
||||
|
||||
/*
|
||||
* Access bit flags
|
||||
*/
|
||||
#define NFS_ACCESS_READ 0x0001
|
||||
#define NFS_ACCESS_LOOKUP 0x0002
|
||||
#define NFS_ACCESS_MODIFY 0x0004
|
||||
#define NFS_ACCESS_EXTEND 0x0008
|
||||
#define NFS_ACCESS_DELETE 0x0010
|
||||
#define NFS_ACCESS_EXECUTE 0x0020
|
||||
|
||||
/*
|
||||
* Cache validity bit flags
|
||||
*/
|
||||
|
Reference in New Issue
Block a user