ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
authorRobin Dong <hao.bigrat@gmail.com>
Fri, 6 May 2011 08:01:40 +0000 (16:01 +0800)
committerJoel Becker <jlbec@evilplan.org>
Tue, 24 May 2011 06:59:40 +0000 (23:59 -0700)
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@taobao.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/dlmfs/dlmfs.c

index 8c5c0eddc365a060d278d49dac042226fafa0515..b420767970492082b357cf67f8735894dd7e103f 100644 (file)
@@ -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);