From f508f273b24d90809dffd7dabf22a96dbeeeaf86 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Wed, 18 Feb 2015 15:24:35 -0700 Subject: [PATCH] gpfs: Move definition of GPFS_GETACL_NATIVE to vfs_gpfs.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christof Schmitt Reviewed-by: Ralph Böhme --- source3/modules/vfs_gpfs.c | 4 ++++ source3/modules/vfs_gpfs.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index b91e377e94a..12d163e7b13 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 4399c9bb046..dbc4f43c869 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);