ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
PATCH 1/1 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 <[email protected]>
--- fs/ocfs2/dlmfs/dlmfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ocfs2/dlmfs/dlmfs.c +1 -1
@@ -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);
Signature · 1 line
1.7.1
Joel Becker
maintainerPATCH 1/1 ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
Quoted 4 lines · Robin Dong
Change function
param_set_dlmfs_capabilitiesfrom 'extern' to 'static' since functionparam_get_dlmfs_capabilitiesis also 'static'.Signed-off-by Robin Dong <[email protected]>
This patch is now in the merge-window branch of ocfs2.git.
Joel
Signature · 7 lines
"I'm drifting and drifting Just like a ship out on the sea. Cause I ain't got nobody, baby, In this world to care for me." http://www.jlbec.org/ jlbec at evilplan.org