summaryrefslogtreecommitdiff
path: root/include/uapi/linux/nfsacl.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-02 01:59:07 +0300
committerJ. Bruce Fields <bfields@redhat.com>2020-10-02 16:37:41 +0300
commitba1df797e5bbba68ddd1a29bd658b1c11f9a60b6 (patch)
tree6bbd1913f1eaa873961f9f4747b584cc646a8b0c /include/uapi/linux/nfsacl.h
parent49d99608213b60dec319400edf997e0fe0567cdf (diff)
downloadlinux-ba1df797e5bbba68ddd1a29bd658b1c11f9a60b6.tar.xz
NFSACL: Replace PROC() macro with open code
Clean up: Follow-up on ten-year-old commit b9081d90f5b9 ("NFS: kill off complicated macro 'PROC'") by performing the same conversion in the NFSACL code. To reduce the chance of error, I copied the original C preprocessor output and then made some minor edits. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/uapi/linux/nfsacl.h')
-rw-r--r--include/uapi/linux/nfsacl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nfsacl.h b/include/uapi/linux/nfsacl.h
index ca9a8501ff30..2c2ad204d3b0 100644
--- a/include/uapi/linux/nfsacl.h
+++ b/include/uapi/linux/nfsacl.h
@@ -9,11 +9,13 @@
#define NFS_ACL_PROGRAM 100227
+#define ACLPROC2_NULL 0
#define ACLPROC2_GETACL 1
#define ACLPROC2_SETACL 2
#define ACLPROC2_GETATTR 3
#define ACLPROC2_ACCESS 4
+#define ACLPROC3_NULL 0
#define ACLPROC3_GETACL 1
#define ACLPROC3_SETACL 2