gpfs: Include gpfs_fcntl.h only from vfs_gpfs header file
authorChristof Schmitt <cs@samba.org>
Wed, 18 Feb 2015 22:24:44 +0000 (15:24 -0700)
committerChristof Schmitt <cs@samba.org>
Mon, 2 Mar 2015 21:31:08 +0000 (22:31 +0100)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/modules/gpfs.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_gpfs.h

index d05fe50..6b7af7c 100644 (file)
@@ -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);
index 12d163e..a3199cb 100644 (file)
@@ -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"
index dbc4f43..a96b0a2 100644 (file)
@@ -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);