diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-12-14 18:53:32 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-12-15 00:51:29 +0100 |
commit | e8e8753f7a32ce4f636771126fc8eba0dc4ad817 (patch) | |
tree | b7298d70312e7ea267343ebe4ed001aa8f1986c8 /include | |
parent | nfsd: Move private headers to source directory (diff) | |
download | linux-e8e8753f7a32ce4f636771126fc8eba0dc4ad817.tar.xz linux-e8e8753f7a32ce4f636771126fc8eba0dc4ad817.zip |
nfsd: new interface to advertise export features
Soon we will add the new V4ROOT flag, and allow the INSECURE flag to
vary by pseudoflavor. It would be useful for nfs-utils (for example,
for improved exportfs error reporting) to be able to know when this
happens. Use this new interface for that purpose.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfsd/export.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index ef3d416fcf67..4f1df1d7312c 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h @@ -39,7 +39,8 @@ #define NFSEXP_FSID 0x2000 #define NFSEXP_CROSSMOUNT 0x4000 #define NFSEXP_NOACL 0x8000 /* reserved for possible ACL related use */ -#define NFSEXP_ALLFLAGS 0xFE3F +/* All flags that we claim to support. (Note we don't support NOACL.) */ +#define NFSEXP_ALLFLAGS 0x7E3F /* The flags that may vary depending on security flavor: */ #define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH \ |