Robin Dong
2011-May-06 08:02 UTC
[Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
Change function param_set_dlmfs_capabilities from 'extern' to
'static' since
function param_get_dlmfs_capabilities is also 'static'.
Signed-off-by: Robin Dong <sanbai at taobao.com>
---
fs/ocfs2/dlmfs/dlmfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index b2df490..dd2675e 100644
--- a/fs/ocfs2/dlmfs/dlmfs.c
+++ b/fs/ocfs2/dlmfs/dlmfs.c
@@ -88,7 +88,7 @@ struct workqueue_struct *user_dlm_worker;
* signifies a bast fired on the lock.
*/
#define DLMFS_CAPABILITIES "bast stackglue"
-extern int param_set_dlmfs_capabilities(const char *val,
+static int param_set_dlmfs_capabilities(const char *val,
struct kernel_param *kp)
{
printk(KERN_ERR "%s: readonly parameter\n", kp->name);
--
1.7.1
Joel Becker
2011-May-24 07:00 UTC
[Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
On Fri, May 06, 2011 at 04:01:40PM +0800, Robin Dong wrote:> Change function param_set_dlmfs_capabilities from 'extern' to 'static' since > function param_get_dlmfs_capabilities is also 'static'. > > Signed-off-by: Robin Dong <sanbai at taobao.com>This patch is now in the merge-window branch of ocfs2.git. Joel -- "I'm drifting and drifting Just like a ship out on the sea. Cause I ain't got nobody, baby, In this world to care for me." http://www.jlbec.org/ jlbec at evilplan.org