History

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.

Chuck Lever committed 6 years ago

Commit ba1df791 parent 49d99603 files · +80 −43Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nfsacl.h+2−0
@@ -9,11 +9,13 @@ · 8 unmodified lines
99
1010 #define NFS_ACL_PROGRAM 100227
1111
12+#define ACLPROC2_NULL 0
1213 #define ACLPROC2_GETACL 1
1314 #define ACLPROC2_SETACL 2
1415 #define ACLPROC2_GETATTR 3
1516 #define ACLPROC2_ACCESS 4
1617
18+#define ACLPROC3_NULL 0
1719 #define ACLPROC3_GETACL 1
1820 #define ACLPROC3_SETACL 2
1921