summaryrefslogtreecommitdiffstats
path: root/source3/modules
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2015-02-18 15:24:35 -0700
committerChristof Schmitt <cs@samba.org>2015-03-02 22:31:08 +0100
commitf508f273b24d90809dffd7dabf22a96dbeeeaf86 (patch)
treea6d847c6946c29073c015d522b8f3d269928f33f /source3/modules
parent38a89f23f1ac5e317266c66d6c08c31213afeb54 (diff)
downloadsamba-f508f273b24d90809dffd7dabf22a96dbeeeaf86.tar.gz
samba-f508f273b24d90809dffd7dabf22a96dbeeeaf86.tar.xz
samba-f508f273b24d90809dffd7dabf22a96dbeeeaf86.zip
gpfs: Move definition of GPFS_GETACL_NATIVE to vfs_gpfs.c
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_gpfs.c4
-rw-r--r--source3/modules/vfs_gpfs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index b91e377e94..12d163e7b1 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -38,6 +38,10 @@
#include "auth.h"
#include "lib/util/tevent_unix.h"
+#ifndef GPFS_GETACL_NATIVE
+#define GPFS_GETACL_NATIVE 0x00000004
+#endif
+
struct gpfs_config_data {
bool sharemodes;
bool leases;
diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h
index 4399c9bb04..dbc4f43c86 100644
--- a/source3/modules/vfs_gpfs.h
+++ b/source3/modules/vfs_gpfs.h
@@ -23,10 +23,6 @@
*/
-#ifndef GPFS_GETACL_NATIVE
-#define GPFS_GETACL_NATIVE 0x00000004
-#endif
-
int gpfswrap_init(void);
int gpfswrap_set_share(int fd, unsigned int allow, unsigned int deny);
int gpfswrap_set_lease(int fd, unsigned int type);