diff options
author | Claudiu Ghioc <claudiughioc@gmail.com> | 2013-05-06 01:47:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-06 16:06:59 -0400 |
commit | 954829863d3017d1c14600c975f9b92696d36836 (patch) | |
tree | 0c132e81fadb5344c1ef4e3f7ab5258c368b1e5d /fs/autofs4/root.c | |
parent | 2bf1bef0d6c3636353938dd1f183a4522957fc35 (diff) |
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 <claudiu.ghioc@gmail.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4/root.c')
-rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
408 | return NULL; | 408 | return NULL; |
409 | } | 409 | } |
410 | 410 | ||
411 | int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) | 411 | static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) |
412 | { | 412 | { |
413 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); | 413 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); |
414 | struct autofs_info *ino = autofs4_dentry_ino(dentry); | 414 | struct autofs_info *ino = autofs4_dentry_ino(dentry); |