summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlmfs
diff options
context:
space:
mode:
authorRobin Dong <hao.bigrat@gmail.com>2011-05-06 10:01:40 +0200
committerJoel Becker <jlbec@evilplan.org>2011-05-24 08:59:40 +0200
commit98ba073c606fba7a48a8e0d36e3b02105d31c768 (patch)
tree90d498c827fbce9d0c5c10b46f98a59148159e1d /fs/ocfs2/dlmfs
parentocfs2/dlm: dlm_is_lockres_migrateable() returns boolean (diff)
downloadlinux-98ba073c606fba7a48a8e0d36e3b02105d31c768.tar.xz
linux-98ba073c606fba7a48a8e0d36e3b02105d31c768.zip
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@taobao.com> Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'fs/ocfs2/dlmfs')
-rw-r--r--fs/ocfs2/dlmfs/dlmfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index 8c5c0eddc365..b42076797049 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);