gpfs: Rename library wrapper to gpfswrap
authorChristof Schmitt <cs@samba.org>
Wed, 10 Dec 2014 23:05:16 +0000 (16:05 -0700)
committerChristof Schmitt <cs@samba.org>
Mon, 2 Mar 2015 21:31:08 +0000 (22:31 +0100)
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>
source3/modules/gpfswrap.c [moved from source3/modules/gpfs.c with 99% similarity]
source3/modules/gpfswrap.h [moved from source3/modules/vfs_gpfs.h with 100% similarity]
source3/modules/vfs_gpfs.c
source3/modules/wscript_build

similarity index 99%
rename from source3/modules/gpfs.c
rename to source3/modules/gpfswrap.c
index 05ff992..aac2f44 100644 (file)
@@ -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);
index c8a5ee2..21707c5 100644 (file)
 #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
index 7fe66ec..a4afcd7 100644 (file)
@@ -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'),