Skip to contentSkip to conversation

fs: sparse warning fix for autofs4/root.c

PATCH New Claudiu Ghioc 1 participant 1 message Mar 11, 2013 Kernel automounter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: sparse warning fix for autofs4/root.c

Fixed the sparse warning:
* "fs/autofs4/root.c:411:5: warning:
symbol 'autofs4_d_manage' was not declared.
Should it be static?"

---
 fs/autofs4/root.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/root.c +1 -1
index 9bd1625..085da86 100644
@@ -408,7 +408,7 @@ done:
 	return NULL;
 }
 
-int autofs4_d_manage(struct dentry *dentry, bool rcu_walk)
+static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk)
 {
 	struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb);
 	struct autofs_info *ino = autofs4_dentry_ino(dentry);
Signature · 1 line
1.7.10.4