History

nfs: add client side only definitions for user xattrs

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.

Frank van der Linden committed 6 years ago

Commit 9a67fcc1 parent 030eb042 files · +8 −0Browse files

Unified · Split

2 files
  1. include/linux/nfs4.h +5 −0
  2. include/linux/nfs_fs.h +3 −0
include/linux/nfs4.h+5−0
@@ -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 */
include/linux/nfs_fs.h+3−0
@@ -212,6 +212,9 @@ struct nfs4_copy_state { · 211 unmodified lines
212#define NFS_ACCESS_EXTEND 0x0008212#define NFS_ACCESS_EXTEND 0x0008
213#define NFS_ACCESS_DELETE 0x0010213#define NFS_ACCESS_DELETE 0x0010
214#define NFS_ACCESS_EXECUTE 0x0020214#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 flags220 * Cache validity bit flags