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>tirimbino
parent
227d006628
commit
ff8fb33522
@ -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
|
||||
|
@ -1,42 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* ver.c |
||||
* |
||||
* version string |
||||
* |
||||
* Copyright (C) 2002, 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#include <linux/module.h> |
||||
#include <linux/kernel.h> |
||||
|
||||
#include "ver.h" |
||||
|
||||
#define CLUSTER_BUILD_VERSION "1.5.0" |
||||
|
||||
#define VERSION_STR "OCFS2 Node Manager " CLUSTER_BUILD_VERSION |
||||
|
||||
void cluster_print_version(void) |
||||
{ |
||||
printk(KERN_INFO "%s\n", VERSION_STR); |
||||
} |
||||
|
||||
MODULE_DESCRIPTION(VERSION_STR); |
||||
|
||||
MODULE_VERSION(CLUSTER_BUILD_VERSION); |
@ -1,31 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* ver.h |
||||
* |
||||
* Function prototypes |
||||
* |
||||
* Copyright (C) 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#ifndef O2CLUSTER_VER_H |
||||
#define O2CLUSTER_VER_H |
||||
|
||||
void cluster_print_version(void); |
||||
|
||||
#endif /* O2CLUSTER_VER_H */ |
@ -1,42 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* dlmver.c |
||||
* |
||||
* version string |
||||
* |
||||
* Copyright (C) 2002, 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#include <linux/module.h> |
||||
#include <linux/kernel.h> |
||||
|
||||
#include "dlmver.h" |
||||
|
||||
#define DLM_BUILD_VERSION "1.5.0" |
||||
|
||||
#define VERSION_STR "OCFS2 DLM " DLM_BUILD_VERSION |
||||
|
||||
void dlm_print_version(void) |
||||
{ |
||||
printk(KERN_INFO "%s\n", VERSION_STR); |
||||
} |
||||
|
||||
MODULE_DESCRIPTION(VERSION_STR); |
||||
|
||||
MODULE_VERSION(DLM_BUILD_VERSION); |
@ -1,31 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* dlmfsver.h |
||||
* |
||||
* Function prototypes |
||||
* |
||||
* Copyright (C) 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#ifndef DLM_VER_H |
||||
#define DLM_VER_H |
||||
|
||||
void dlm_print_version(void); |
||||
|
||||
#endif /* DLM_VER_H */ |
@ -1,42 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* dlmfsver.c |
||||
* |
||||
* version string |
||||
* |
||||
* Copyright (C) 2002, 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#include <linux/module.h> |
||||
#include <linux/kernel.h> |
||||
|
||||
#include "dlmfsver.h" |
||||
|
||||
#define DLM_BUILD_VERSION "1.5.0" |
||||
|
||||
#define VERSION_STR "OCFS2 DLMFS " DLM_BUILD_VERSION |
||||
|
||||
void dlmfs_print_version(void) |
||||
{ |
||||
printk(KERN_INFO "%s\n", VERSION_STR); |
||||
} |
||||
|
||||
MODULE_DESCRIPTION(VERSION_STR); |
||||
|
||||
MODULE_VERSION(DLM_BUILD_VERSION); |
@ -1,31 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* dlmver.h |
||||
* |
||||
* Function prototypes |
||||
* |
||||
* Copyright (C) 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#ifndef DLMFS_VER_H |
||||
#define DLMFS_VER_H |
||||
|
||||
void dlmfs_print_version(void); |
||||
|
||||
#endif /* DLMFS_VER_H */ |
@ -1,43 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* ver.c |
||||
* |
||||
* version string |
||||
* |
||||
* Copyright (C) 2002, 2005 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#include <linux/module.h> |
||||
#include <linux/string.h> |
||||
#include <linux/kernel.h> |
||||
|
||||
#include "ver.h" |
||||
|
||||
#define OCFS2_BUILD_VERSION "1.5.0" |
||||
|
||||
#define VERSION_STR "OCFS2 " OCFS2_BUILD_VERSION |
||||
|
||||
void ocfs2_print_version(void) |
||||
{ |
||||
printk(KERN_INFO "%s\n", VERSION_STR); |
||||
} |
||||
|
||||
MODULE_DESCRIPTION(VERSION_STR); |
||||
|
||||
MODULE_VERSION(OCFS2_BUILD_VERSION); |
@ -1,31 +0,0 @@ |
||||
/* -*- mode: c; c-basic-offset: 8; -*-
|
||||
* vim: noexpandtab sw=8 ts=8 sts=0: |
||||
* |
||||
* ver.h |
||||
* |
||||
* Function prototypes |
||||
* |
||||
* Copyright (C) 2002, 2004 Oracle. All rights reserved. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2 of the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public |
||||
* License along with this program; if not, write to the |
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
||||
* Boston, MA 021110-1307, USA. |
||||
*/ |
||||
|
||||
#ifndef OCFS2_VER_H |
||||
#define OCFS2_VER_H |
||||
|
||||
void ocfs2_print_version(void); |
||||
|
||||
#endif /* OCFS2_VER_H */ |
Loading…
Reference in new issue