autofs - fix sparse warning for autofs4_d_manage()
Subsystems (2)
Ian Kent
maintainerPATCH 1/1 autofs - fix sparse warning for autofs4_d_manage()
From: Claudiu Ghioc <[email protected]>
Fixed the sparse warning:
* "fs/autofs4/root.c:411:5: warning:
symbol 'autofs4_d_manage' was not declared.
Should it be static?"
edit: imk
Clearly it should be static as the function is declared static at the top of root.c.
end edit: imk
Signed-off-by Claudiu Ghioc <[email protected]>
Signed-off-by Ian Kent <[email protected]>
--- fs/autofs4/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/autofs4/root.c +1 -1
@@ -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);