summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorFrank van der Linden <fllinden@amazon.com>2020-06-23 22:39:20 +0000
committerChuck Lever <chuck.lever@oracle.com>2020-07-13 17:20:49 -0400
commitc1326210477ecc06c53221f0005c64419aba30d6 (patch)
treeca24cdc4a93db9b7c153d39039ee3cdf51ced8f0 /include/uapi
parent11ba468877bb23f28956a35e896356252d63c983 (diff)
downloadlinux-stable-c1326210477ecc06c53221f0005c64419aba30d6.tar.gz
linux-stable-c1326210477ecc06c53221f0005c64419aba30d6.tar.bz2
linux-stable-c1326210477ecc06c53221f0005c64419aba30d6.zip
nfs,nfsd: NFSv4.2 extended attribute protocol definitions
Add definitions for the new operations, errors and flags as defined in RFC 8276 (File System Extended Attributes in NFSv4). Signed-off-by: Frank van der Linden <fllinden@amazon.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nfs4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h
index 8572930cf5b0..bf197e99b98f 100644
--- a/include/uapi/linux/nfs4.h
+++ b/include/uapi/linux/nfs4.h
@@ -33,6 +33,9 @@
#define NFS4_ACCESS_EXTEND 0x0008
#define NFS4_ACCESS_DELETE 0x0010
#define NFS4_ACCESS_EXECUTE 0x0020
+#define NFS4_ACCESS_XAREAD 0x0040
+#define NFS4_ACCESS_XAWRITE 0x0080
+#define NFS4_ACCESS_XALIST 0x0100
#define NFS4_FH_PERSISTENT 0x0000
#define NFS4_FH_NOEXPIRE_WITH_OPEN 0x0001