提交 95482986 编写于 作者: C Claudiu Ghioc 提交者: Linus Torvalds

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: NClaudiu Ghioc <claudiu.ghioc@gmail.com>
Signed-off-by: NIan Kent <raven@themaw.net>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2bf1bef0
......@@ -408,7 +408,7 @@ static struct vfsmount *autofs4_d_automount(struct path *path)
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册