Commit 98ba073c authored by Robin Dong's avatar Robin Dong Committed by Joel Becker

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: default avatarRobin Dong <sanbai@taobao.com>
Signed-off-by: default avatarJoel Becker <jlbec@evilplan.org>
parent 9f62e960
...@@ -88,7 +88,7 @@ struct workqueue_struct *user_dlm_worker; ...@@ -88,7 +88,7 @@ struct workqueue_struct *user_dlm_worker;
* signifies a bast fired on the lock. * signifies a bast fired on the lock.
*/ */
#define DLMFS_CAPABILITIES "bast stackglue" #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) struct kernel_param *kp)
{ {
printk(KERN_ERR "%s: readonly parameter\n", kp->name); printk(KERN_ERR "%s: readonly parameter\n", kp->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment