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 d05fe50ce68c51035e41af53f0cc504d6f55f460..6b7af7c6ea1b9bd455c86349bab77e64adc585a2 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 12d163e7b1304fdafea0d58533215c688bf822fc..a3199cb53f30d0ec8c41c41e1e39fb14271b7924 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 dbc4f43c8697bbce625e62bbc2baa5c927629e75..a96b0a20bee746d4f74b7e327a88824f241e5f50 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);