summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 18b51ab56c..b5077ed8ff 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -90,18 +90,18 @@ SMB_BIG_UINT get_allocation_size(connection_struct *conn, files_struct *fsp, con
Utility functions for dealing with extended attributes.
****************************************************************************/
-static const char *prohibited_ea_names[] = {
- SAMBA_POSIX_INHERITANCE_EA_NAME,
- SAMBA_XATTR_DOS_ATTRIB,
- NULL
-};
-
/****************************************************************************
Refuse to allow clients to overwrite our private xattrs.
****************************************************************************/
static BOOL samba_private_attr_name(const char *unix_ea_name)
{
+ static const char *prohibited_ea_names[] = {
+ SAMBA_POSIX_INHERITANCE_EA_NAME,
+ SAMBA_XATTR_DOS_ATTRIB,
+ NULL
+ };
+
int i;
for (i = 0; prohibited_ea_names[i]; i++) {