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.
Unified · Split
| @@ -553,6 +553,11 @@ enum { · 552 unmodified lines | |||
| 553 | NFSPROC4_CLNT_LAYOUTERROR, | 553 | NFSPROC4_CLNT_LAYOUTERROR, |
| 554 | 554 | ||
| 555 | NFSPROC4_CLNT_COPY_NOTIFY, | 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 | /* nfs41 types */ | 563 | /* nfs41 types */ |
| @@ -212,6 +212,9 @@ struct nfs4_copy_state { · 211 unmodified lines | |||
| 212 | #define NFS_ACCESS_EXTEND 0x0008 | 212 | #define NFS_ACCESS_EXTEND 0x0008 |
| 213 | #define NFS_ACCESS_DELETE 0x0010 | 213 | #define NFS_ACCESS_DELETE 0x0010 |
| 214 | #define NFS_ACCESS_EXECUTE 0x0020 | 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 | * Cache validity bit flags | 220 | * Cache validity bit flags |