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
9 9
10#define NFS_ACL_PROGRAM 10022710#define NFS_ACL_PROGRAM 100227
11 11
12#define ACLPROC2_NULL 0
12#define ACLPROC2_GETACL 113#define ACLPROC2_GETACL 1
13#define ACLPROC2_SETACL 214#define ACLPROC2_SETACL 2
14#define ACLPROC2_GETATTR 315#define ACLPROC2_GETATTR 3
15#define ACLPROC2_ACCESS 416#define ACLPROC2_ACCESS 4
16 17
18#define ACLPROC3_NULL 0
17#define ACLPROC3_GETACL 119#define ACLPROC3_GETACL 1
18#define ACLPROC3_SETACL 220#define ACLPROC3_SETACL 2
19 21