diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-12-17 18:59:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:13 -0500 |
commit | ac5f121b8f2cad52b7671f9af872f8761b0ea1d4 (patch) | |
tree | 50d1e6c969167be701ae916d47773733088b0199 /fs/notify | |
parent | 965c8e59cfcf845ecde2265a1d1bfee5f011d302 (diff) |
fs/notify/inode_mark.c: make fsnotify_find_inode_mark_locked() static
Fixes following sparse warning:
fs/notify/inode_mark.c:127:22: warning: symbol 'fsnotify_find_inode_mark_locked' was not declared. Should it be static?
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify')
-rw-r--r-- | fs/notify/inode_mark.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c index b13c00ac48eb..f3035691f528 100644 --- a/fs/notify/inode_mark.c +++ b/fs/notify/inode_mark.c | |||
@@ -116,8 +116,9 @@ void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) | |||
116 | * given a group and inode, find the mark associated with that combination. | 116 | * given a group and inode, find the mark associated with that combination. |
117 | * if found take a reference to that mark and return it, else return NULL | 117 | * if found take a reference to that mark and return it, else return NULL |
118 | */ | 118 | */ |
119 | struct fsnotify_mark *fsnotify_find_inode_mark_locked(struct fsnotify_group *group, | 119 | static struct fsnotify_mark *fsnotify_find_inode_mark_locked( |
120 | struct inode *inode) | 120 | struct fsnotify_group *group, |
121 | struct inode *inode) | ||
121 | { | 122 | { |
122 | struct fsnotify_mark *mark; | 123 | struct fsnotify_mark *mark; |
123 | struct hlist_node *pos; | 124 | struct hlist_node *pos; |