From: Claudiu Ghioc Date: Mon, 6 May 2013 05:47:16 +0000 (+0800) Subject: autofs - fix sparse warning for autofs4_d_manage() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=954829863d3017d1c14600c975f9b92696d36836;p=openwrt%2Fstaging%2Fblogic.git autofs - fix sparse warning for autofs4_d_manage() Fixed the sparse warning: fs/autofs4/root.c:411:5: warning: symbol 'autofs4_d_manage' was not declared. Should it be static?" [ Clearly it should be static as the function is declared static at the top of root.c. - imk ] Signed-off-by: Claudiu Ghioc Signed-off-by: Ian Kent Signed-off-by: Linus Torvalds --- diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 9bd16255dd9c..085da86e07c2 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c @@ -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);