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>
This commit is contained in:
parent
9f62e96084
commit
98ba073c60
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue