summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-11-26 16:29:43 +0100
committerJeremy Allison <jra@samba.org>2019-03-18 19:21:25 +0000
commitba1fe6d11a0e3d5651150ddfb80f8fab7f5f7318 (patch)
tree793cf340ffaed2f9da2326c0384b076362a888c6 /source3
parent3490a6e27ae0ca5ebe33092aa08d6271e8ffd420 (diff)
downloadsamba-ba1fe6d11a0e3d5651150ddfb80f8fab7f5f7318.tar.gz
nfs4acl_xattr: move a define to a common header file
In preperation of a adding real NFS backend. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/nfs4acl_xattr.h2
-rw-r--r--source3/modules/nfs4acl_xattr_xdr.h1
2 files changed, 2 insertions, 1 deletions
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,