nfs4acl_xattr: move a define to a common header file
authorRalph Boehme <slow@samba.org>
Mon, 26 Nov 2018 15:29:43 +0000 (16:29 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:25 +0000 (19:21 +0000)
In preperation of a adding real NFS backend.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/nfs4acl_xattr.h
source3/modules/nfs4acl_xattr_xdr.h

index 3eeb4703bc8af708e896b4260d5a1ac63c0939ee..86416063bf4a3d2a46e04125e7328b4d4e1395ed 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __NFS4ACL_XATTR_H__
 #define __NFS4ACL_XATTR_H__
 
+#define NFS4ACL_XDR_MAX_ACES 8192
+
 enum nfs4acl_encoding {NFS4ACL_ENCODING_NDR, NFS4ACL_ENCODING_XDR};
 
 struct nfs4acl_config {
index 8a544349cc86cd9d29fada9ef0b7e16ea86870eb..4a79a0da93fc3d7b024326a12770e3283d927728 100644 (file)
@@ -20,7 +20,6 @@
 #define __NFS4ACL_XATTR_XDR_H__
 
 #define NFS4ACL_XDR_XATTR_NAME "security.nfs4acl_xdr"
-#define NFS4ACL_XDR_MAX_ACES 8192
 
 NTSTATUS nfs4acl_xdr_blob_to_smb4(struct vfs_handle_struct *handle,
                                  TALLOC_CTX *mem_ctx,