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.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -9,11 +9,13 @@ · 8 unmodified lines | |||
| 9 | 9 | ||
| 10 | #define NFS_ACL_PROGRAM 100227 | 10 | #define NFS_ACL_PROGRAM 100227 |
| 11 | 11 | ||
| 12 | #define ACLPROC2_NULL 0 | ||
| 12 | #define ACLPROC2_GETACL 1 | 13 | #define ACLPROC2_GETACL 1 |
| 13 | #define ACLPROC2_SETACL 2 | 14 | #define ACLPROC2_SETACL 2 |
| 14 | #define ACLPROC2_GETATTR 3 | 15 | #define ACLPROC2_GETATTR 3 |
| 15 | #define ACLPROC2_ACCESS 4 | 16 | #define ACLPROC2_ACCESS 4 |
| 16 | 17 | ||
| 18 | #define ACLPROC3_NULL 0 | ||
| 17 | #define ACLPROC3_GETACL 1 | 19 | #define ACLPROC3_GETACL 1 |
| 18 | #define ACLPROC3_SETACL 2 | 20 | #define ACLPROC3_SETACL 2 |
| 19 | 21 | ||