summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-12-10 16:05:16 -0700
committerChristof Schmitt <cs@samba.org>2015-03-02 22:31:08 +0100
commita11fed1671a3f00506438b180d3b6c009093a04f (patch)
tree1ddf6ed02a0f9ad87e1d8e1bcfa8eda20eb68593 /source3
parentb765b17feaa2e002c87353b720158e7e39ffef7d (diff)
downloadsamba-a11fed1671a3f00506438b180d3b6c009093a04f.tar.gz
samba-a11fed1671a3f00506438b180d3b6c009093a04f.tar.xz
samba-a11fed1671a3f00506438b180d3b6c009093a04f.zip
gpfs: Rename library wrapper to gpfswrap
The code in gpfs.c and vfs_gpfs.h now only wraps the gpfs library. Rename the files to gpfswrap to make it clear that this is the only purpose of that file. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/gpfswrap.c (renamed from source3/modules/gpfs.c)2
-rw-r--r--source3/modules/gpfswrap.h (renamed from source3/modules/vfs_gpfs.h)0
-rw-r--r--source3/modules/vfs_gpfs.c2
-rw-r--r--source3/modules/wscript_build2
4 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/gpfs.c b/source3/modules/gpfswrap.c
index 05ff992680..aac2f44405 100644
--- a/source3/modules/gpfs.c
+++ b/source3/modules/gpfswrap.c
@@ -19,7 +19,7 @@
*/
#include "replace.h"
-#include "vfs_gpfs.h"
+#include "gpfswrap.h"
static int (*gpfs_set_share_fn)(int fd, unsigned int allow, unsigned int deny);
static int (*gpfs_set_lease_fn)(int fd, unsigned int type);
diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/gpfswrap.h
index 40b2c9e8da..40b2c9e8da 100644
--- a/source3/modules/vfs_gpfs.h
+++ b/source3/modules/gpfswrap.h
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index c8a5ee2707..21707c5f6c 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -27,10 +27,10 @@
#include "modules/non_posix_acls.h"
#include "libcli/security/security.h"
#include "nfs4_acls.h"
-#include "vfs_gpfs.h"
#include "system/filesys.h"
#include "auth.h"
#include "lib/util/tevent_unix.h"
+#include "gpfswrap.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 7fe66ecfef..a4afcd7ed0 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -275,7 +275,7 @@ bld.SAMBA3_MODULE('vfs_commit',
bld.SAMBA3_MODULE('vfs_gpfs',
subsystem='vfs',
- source='vfs_gpfs.c gpfs.c',
+ source='vfs_gpfs.c gpfswrap.c',
deps='NFS4_ACLS non_posix_acls',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),