Commit 954829863d3017d1c14600c975f9b92696d36836
Committed by
Linus Torvalds
1 parent
2bf1bef0d6
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/autofs4/root.c
... | ... | @@ -408,7 +408,7 @@ |
408 | 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 | 413 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); |
414 | 414 | struct autofs_info *ino = autofs4_dentry_ino(dentry); |