Skip to content

Commit

Permalink
ocfs2: remove versioning information
Browse files Browse the repository at this point in the history
The versioning information is confusing for end-users.  The numbers are
stuck at 1.5.0 when the tools version have moved to 1.8.2.  Remove the
versioning system in the OCFS2 modules and let the kernel version be the
guide to debug issues.

Signed-off-by: Goldwyn Rodrigues <[email protected]>
Acked-by: Sunil Mushran <[email protected]>
Cc: Mark Fasheh <[email protected]>
Acked-by: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Goldwyn Rodrigues authored and torvalds committed Jan 22, 2014
1 parent 227d006 commit ff8fb33
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 310 deletions.
1 change: 0 additions & 1 deletion fs/ocfs2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ ocfs2-objs := \
symlink.o \
sysfile.o \
uptodate.o \
ver.o \
quota_local.o \
quota_global.o \
xattr.o \
Expand Down
2 changes: 1 addition & 1 deletion fs/ocfs2/cluster/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o

ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \
quorum.o tcp.o netdebug.o ver.o
quorum.o tcp.o netdebug.o
4 changes: 1 addition & 3 deletions fs/ocfs2/cluster/nodemanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "heartbeat.h"
#include "masklog.h"
#include "sys.h"
#include "ver.h"

/* for now we operate under the assertion that there can be only one
* cluster active at a time. Changing this will require trickling
Expand Down Expand Up @@ -945,8 +944,6 @@ static int __init init_o2nm(void)
{
int ret = -1;

cluster_print_version();

ret = o2hb_init();
if (ret)
goto out;
Expand Down Expand Up @@ -984,6 +981,7 @@ static int __init init_o2nm(void)

MODULE_AUTHOR("Oracle");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("OCFS2 cluster management");

module_init(init_o2nm)
module_exit(exit_o2nm)
42 changes: 0 additions & 42 deletions fs/ocfs2/cluster/ver.c

This file was deleted.

31 changes: 0 additions & 31 deletions fs/ocfs2/cluster/ver.h

This file was deleted.

2 changes: 1 addition & 1 deletion fs/ocfs2/dlm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ ccflags-y := -Ifs/ocfs2
obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o

ocfs2_dlm-objs := dlmdomain.o dlmdebug.o dlmthread.o dlmrecovery.o \
dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o dlmver.o
dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o

5 changes: 1 addition & 4 deletions fs/ocfs2/dlm/dlmdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#include "dlmdomain.h"
#include "dlmdebug.h"

#include "dlmver.h"

#define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_DOMAIN)
#include "cluster/masklog.h"

Expand Down Expand Up @@ -2328,8 +2326,6 @@ static int __init dlm_init(void)
{
int status;

dlm_print_version();

status = dlm_init_mle_cache();
if (status) {
mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
Expand Down Expand Up @@ -2379,6 +2375,7 @@ static void __exit dlm_exit (void)

MODULE_AUTHOR("Oracle");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("OCFS2 Distributed Lock Management");

module_init(dlm_init);
module_exit(dlm_exit);
42 changes: 0 additions & 42 deletions fs/ocfs2/dlm/dlmver.c

This file was deleted.

31 changes: 0 additions & 31 deletions fs/ocfs2/dlm/dlmver.h

This file was deleted.

2 changes: 1 addition & 1 deletion fs/ocfs2/dlmfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ccflags-y := -Ifs/ocfs2

obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o

ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
ocfs2_dlmfs-objs := userdlm.o dlmfs.o
4 changes: 1 addition & 3 deletions fs/ocfs2/dlmfs/dlmfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

#include "stackglue.h"
#include "userdlm.h"
#include "dlmfsver.h"

#define MLOG_MASK_PREFIX ML_DLMFS
#include "cluster/masklog.h"
Expand Down Expand Up @@ -644,8 +643,6 @@ static int __init init_dlmfs_fs(void)
int status;
int cleanup_inode = 0, cleanup_worker = 0;

dlmfs_print_version();

status = bdi_init(&dlmfs_backing_dev_info);
if (status)
return status;
Expand Down Expand Up @@ -701,6 +698,7 @@ static void __exit exit_dlmfs_fs(void)

MODULE_AUTHOR("Oracle");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("OCFS2 DLM-Filesystem");

module_init(init_dlmfs_fs)
module_exit(exit_dlmfs_fs)
42 changes: 0 additions & 42 deletions fs/ocfs2/dlmfs/dlmfsver.c

This file was deleted.

31 changes: 0 additions & 31 deletions fs/ocfs2/dlmfs/dlmfsver.h

This file was deleted.

4 changes: 1 addition & 3 deletions fs/ocfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
#include "super.h"
#include "sysfile.h"
#include "uptodate.h"
#include "ver.h"
#include "xattr.h"
#include "quota.h"
#include "refcounttree.h"
Expand All @@ -90,6 +89,7 @@ static struct dentry *ocfs2_debugfs_root = NULL;

MODULE_AUTHOR("Oracle");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("OCFS2 cluster file system");

struct mount_options
{
Expand Down Expand Up @@ -1618,8 +1618,6 @@ static int __init ocfs2_init(void)
{
int status, i;

ocfs2_print_version();

for (i = 0; i < OCFS2_IOEND_WQ_HASH_SZ; i++)
init_waitqueue_head(&ocfs2__ioend_wq[i]);

Expand Down
43 changes: 0 additions & 43 deletions fs/ocfs2/ver.c

This file was deleted.

Loading

0 comments on commit ff8fb33

Please sign in to comment.