Skip to contentSkip to conversation

ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs

PATCH New Robin Dong 2 participants 2 messages May 6, 2011 – May 24, 2011 OCFS2

lore
Share & tools
lore

Robin Dong

author
#0 lore raw

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'.

---
 fs/ocfs2/dlmfs/dlmfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ocfs2/dlmfs/dlmfs.c +1 -1
index b2df490..dd2675e 100644
@@ -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
maintainer
#1 lore raw

PATCH 1/1 ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs

Quoted 4 lines · Robin Dong

Change function param_set_dlmfs_capabilities from 'extern' to 'static' since function param_get_dlmfs_capabilities is also 'static'.

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