summaryrefslogtreecommitdiffstats
path: root/source3/modules
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2015-02-18 15:24:44 -0700
committerChristof Schmitt <cs@samba.org>2015-03-02 22:31:08 +0100
commitb69957d65d6dd2fdb76b404b886a7c224e714dda (patch)
treeaaccc56dcae3a4fc82e98cc9eeb7749cbec128ea /source3/modules
parentf508f273b24d90809dffd7dabf22a96dbeeeaf86 (diff)
downloadsamba-b69957d65d6dd2fdb76b404b886a7c224e714dda.tar.gz
samba-b69957d65d6dd2fdb76b404b886a7c224e714dda.tar.xz
samba-b69957d65d6dd2fdb76b404b886a7c224e714dda.zip
gpfs: Include gpfs_fcntl.h only from vfs_gpfs header file
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/gpfs.c1
-rw-r--r--source3/modules/vfs_gpfs.c1
-rw-r--r--source3/modules/vfs_gpfs.h2
3 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/gpfs.c b/source3/modules/gpfs.c
index d05fe50ce6..6b7af7c6ea 100644
--- a/source3/modules/gpfs.c
+++ b/source3/modules/gpfs.c
@@ -22,7 +22,6 @@
#include "smbd/smbd.h"
#include <fcntl.h>
-#include <gpfs_fcntl.h>
#include "vfs_gpfs.h"
static int (*gpfs_set_share_fn)(int fd, unsigned int allow, unsigned int deny);
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 12d163e7b1..a3199cb53f 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -31,7 +31,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
-#include <gpfs_fcntl.h>
#include "nfs4_acls.h"
#include "vfs_gpfs.h"
#include "system/filesys.h"
diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h
index dbc4f43c86..a96b0a20be 100644
--- a/source3/modules/vfs_gpfs.h
+++ b/source3/modules/vfs_gpfs.h
@@ -23,6 +23,8 @@
*/
+#include <gpfs_fcntl.h>
+
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);