diff options
author | Robin Dong <hao.bigrat@gmail.com> | 2011-05-06 12:01:40 +0400 |
---|---|---|
committer | Joel Becker <jlbec@evilplan.org> | 2011-05-24 10:59:40 +0400 |
commit | 98ba073c606fba7a48a8e0d36e3b02105d31c768 (patch) | |
tree | 90d498c827fbce9d0c5c10b46f98a59148159e1d /fs/ocfs2 | |
parent | 9f62e96084cd7ae6dedcfb4caf066ed6cc67e0d7 (diff) | |
download | linux-98ba073c606fba7a48a8e0d36e3b02105d31c768.tar.xz |
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')
-rw-r--r-- | 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 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); |