From: Ralph Boehme Date: Mon, 26 Nov 2018 15:29:43 +0000 (+0100) Subject: nfs4acl_xattr: move a define to a common header file X-Git-Tag: talloc-2.2.0~38 X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=ba1fe6d11a0e3d5651150ddfb80f8fab7f5f7318 nfs4acl_xattr: move a define to a common header file In preperation of a adding real NFS backend. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/nfs4acl_xattr.h b/source3/modules/nfs4acl_xattr.h index 3eeb4703bc8..86416063bf4 100644 --- a/source3/modules/nfs4acl_xattr.h +++ b/source3/modules/nfs4acl_xattr.h @@ -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 { diff --git a/source3/modules/nfs4acl_xattr_xdr.h b/source3/modules/nfs4acl_xattr_xdr.h index 8a544349cc8..4a79a0da93f 100644 --- a/source3/modules/nfs4acl_xattr_xdr.h +++ b/source3/modules/nfs4acl_xattr_xdr.h @@ -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,