Go to the documentation of this file.
5 #ifndef LINUX_NFSD_VFS_H
6 #define LINUX_NFSD_VFS_H
13 #define NFSD_MAY_NOP 0
14 #define NFSD_MAY_EXEC 0x001
15 #define NFSD_MAY_WRITE 0x002
16 #define NFSD_MAY_READ 0x004
17 #define NFSD_MAY_SATTR 0x008
18 #define NFSD_MAY_TRUNC 0x010
19 #define NFSD_MAY_LOCK 0x020
20 #define NFSD_MAY_MASK 0x03f
23 #define NFSD_MAY_OWNER_OVERRIDE 0x040
24 #define NFSD_MAY_LOCAL_ACCESS 0x080
25 #define NFSD_MAY_BYPASS_GSS_ON_ROOT 0x100
26 #define NFSD_MAY_NOT_BREAK_LEASE 0x200
27 #define NFSD_MAY_BYPASS_GSS 0x400
28 #define NFSD_MAY_READ_IF_EXEC 0x800
30 #define NFSD_MAY_64BIT_COOKIE 0x1000
32 #define NFSD_MAY_CREATE (NFSD_MAY_EXEC|NFSD_MAY_WRITE)
33 #define NFSD_MAY_REMOVE (NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC)
47 const char *,
unsigned int,
struct svc_fh *);
49 const char *,
unsigned int,
69 loff_t,
unsigned long);
75 loff_t,
struct kvec *,
int,
unsigned long *);
77 loff_t,
struct kvec *,
int,
unsigned long *);
79 loff_t,
struct kvec *,
int,
unsigned long *,
int *);
86 char *,
int,
struct svc_fh *);
88 struct svc_fh *,
char *,
int,
89 struct svc_fh *,
char *,
int);
91 struct svc_fh *,
char *,
int);
106 #if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)
111 static inline int fh_want_write(
struct svc_fh *fh)
120 static inline void fh_drop_write(
struct svc_fh *fh)