projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965c8e5
)
fs/notify/inode_mark.c: make fsnotify_find_inode_mark_locked() static
author
Tushar Behera
<
[email protected]
>
Mon, 17 Dec 2012 23:59:40 +0000
(15:59 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 18 Dec 2012 01:15:13 +0000
(17:15 -0800)
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 <
[email protected]
>
Cc: Eric Paris <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/notify/inode_mark.c
patch
|
blob
|
history
diff --git
a/fs/notify/inode_mark.c
b/fs/notify/inode_mark.c
index b13c00ac48eb377086f1928d8ff0cffae3b8cc44..f3035691f528db31f41eb8b6db034525b6619aaa 100644
(file)
--- 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)
* given a group and inode, find the mark associated with that combination.
* if found take a reference to that mark and return it, else return NULL
*/
-struct fsnotify_mark *fsnotify_find_inode_mark_locked(struct fsnotify_group *group,
- struct inode *inode)
+static struct fsnotify_mark *fsnotify_find_inode_mark_locked(
+ struct fsnotify_group *group,
+ struct inode *inode)
{
struct fsnotify_mark *mark;
struct hlist_node *pos;