Skip to content

Commit ff8fb33

Browse files
Goldwyn Rodriguestorvalds
authored andcommitted
ocfs2: remove versioning information
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 <rgoldwyn@suse.com> Acked-by: Sunil Mushran <sunil.mushran@gmail.com> Cc: Mark Fasheh <mfasheh@suse.com> Acked-by: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 227d006 commit ff8fb33

File tree

16 files changed

+7
-310
lines changed

16 files changed

+7
-310
lines changed

fs/ocfs2/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ ocfs2-objs := \
3838
symlink.o \
3939
sysfile.o \
4040
uptodate.o \
41-
ver.o \
4241
quota_local.o \
4342
quota_global.o \
4443
xattr.o \

fs/ocfs2/cluster/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o
22

33
ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \
4-
quorum.o tcp.o netdebug.o ver.o
4+
quorum.o tcp.o netdebug.o

fs/ocfs2/cluster/nodemanager.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "heartbeat.h"
3030
#include "masklog.h"
3131
#include "sys.h"
32-
#include "ver.h"
3332

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

948-
cluster_print_version();
949-
950947
ret = o2hb_init();
951948
if (ret)
952949
goto out;
@@ -984,6 +981,7 @@ static int __init init_o2nm(void)
984981

985982
MODULE_AUTHOR("Oracle");
986983
MODULE_LICENSE("GPL");
984+
MODULE_DESCRIPTION("OCFS2 cluster management");
987985

988986
module_init(init_o2nm)
989987
module_exit(exit_o2nm)

fs/ocfs2/cluster/ver.c

Lines changed: 0 additions & 42 deletions
This file was deleted.

fs/ocfs2/cluster/ver.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

fs/ocfs2/dlm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ccflags-y := -Ifs/ocfs2
33
obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o
44

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

fs/ocfs2/dlm/dlmdomain.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
#include "dlmdomain.h"
4444
#include "dlmdebug.h"
4545

46-
#include "dlmver.h"
47-
4846
#define MLOG_MASK_PREFIX (ML_DLM|ML_DLM_DOMAIN)
4947
#include "cluster/masklog.h"
5048

@@ -2328,8 +2326,6 @@ static int __init dlm_init(void)
23282326
{
23292327
int status;
23302328

2331-
dlm_print_version();
2332-
23332329
status = dlm_init_mle_cache();
23342330
if (status) {
23352331
mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
@@ -2379,6 +2375,7 @@ static void __exit dlm_exit (void)
23792375

23802376
MODULE_AUTHOR("Oracle");
23812377
MODULE_LICENSE("GPL");
2378+
MODULE_DESCRIPTION("OCFS2 Distributed Lock Management");
23822379

23832380
module_init(dlm_init);
23842381
module_exit(dlm_exit);

fs/ocfs2/dlm/dlmver.c

Lines changed: 0 additions & 42 deletions
This file was deleted.

fs/ocfs2/dlm/dlmver.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

fs/ocfs2/dlmfs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ ccflags-y := -Ifs/ocfs2
22

33
obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o
44

5-
ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
5+
ocfs2_dlmfs-objs := userdlm.o dlmfs.o

0 commit comments

Comments
 (0)