Common protocol definitions used by the server and client implementations. A separate patch also makes it easier to see what code needs to be change when the flag name and value is eventually standardized. Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> --- include/linux/nfs4.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 1b06f0b..ca3adb1 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -41,6 +41,7 @@ struct nfs4_acl { }; #define NFS4_MAXLABELLEN 2048 +#define NFS4_MAXIMALEN (4096) struct nfs4_label { uint32_t lfs; @@ -451,6 +452,7 @@ enum change_attr_type4 { #define FATTR4_WORD2_CHANGE_ATTR_TYPE (1UL << 15) #define FATTR4_WORD2_SECURITY_LABEL (1UL << 16) #define FATTR4_WORD2_MODE_UMASK (1UL << 17) +#define FATTR4_WORD2_LINUX_IMA (1UL << 18) /* MDS threshold bitmap bits */ #define THRESHOLD_RD (1UL << 0)