Add client-side only definitions for user extended attributes (RFC8276). These are the access bits as used by the client code, and the CLNT procedure number definition.
Showing the changes to include/linux (2 of 2 files). Show all
Unified · Split
| @@ -553,6 +553,11 @@ enum { · 552 unmodified lines | ||
| 553 | 553 | NFSPROC4_CLNT_LAYOUTERROR, |
| 554 | 554 | |
| 555 | 555 | NFSPROC4_CLNT_COPY_NOTIFY, |
| 556 | + | |
| 557 | + NFSPROC4_CLNT_GETXATTR, | |
| 558 | + NFSPROC4_CLNT_SETXATTR, | |
| 559 | + NFSPROC4_CLNT_LISTXATTRS, | |
| 560 | + NFSPROC4_CLNT_REMOVEXATTR, | |
| 556 | 561 | }; |
| 557 | 562 | |
| 558 | 563 | /* nfs41 types */ |
| @@ -212,6 +212,9 @@ struct nfs4_copy_state { · 211 unmodified lines | ||
| 212 | 212 | #define NFS_ACCESS_EXTEND 0x0008 |
| 213 | 213 | #define NFS_ACCESS_DELETE 0x0010 |
| 214 | 214 | #define NFS_ACCESS_EXECUTE 0x0020 |
| 215 | +#define NFS_ACCESS_XAREAD 0x0040 | |
| 216 | +#define NFS_ACCESS_XAWRITE 0x0080 | |
| 217 | +#define NFS_ACCESS_XALIST 0x0100 | |
| 215 | 218 | |
| 216 | 219 | /* |
| 217 | 220 | * Cache validity bit flags |