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:
fb1cfb8
)
inotify_user.c: make local symbol static
author
H Hartley Sweeten
<
[email protected]
>
Fri, 14 May 2010 20:35:21 +0000
(15:35 -0500)
committer
Eric Paris
<
[email protected]
>
Wed, 28 Jul 2010 13:59:02 +0000
(09:59 -0400)
The symbol inotify_max_user_watches is not used outside this
file and should be static.
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Cc: John McCutchan <
[email protected]
>
Cc: Robert Love <
[email protected]
>
Cc: Eric Paris <
[email protected]
>
Signed-off-by: Eric Paris <
[email protected]
>
fs/notify/inotify/inotify_user.c
patch
|
blob
|
history
diff --git
a/fs/notify/inotify/inotify_user.c
b/fs/notify/inotify/inotify_user.c
index 1ce71f5b95894a74fb0d97b6ecbe24129f3f8b08..44aeb0f1b2225b3eec4a7bf615e7851657aadac8 100644
(file)
--- a/
fs/notify/inotify/inotify_user.c
+++ b/
fs/notify/inotify/inotify_user.c
@@
-46,7
+46,7
@@
/* these are configurable via /proc/sys/fs/inotify/ */
static int inotify_max_user_instances __read_mostly;
static int inotify_max_queued_events __read_mostly;
-int inotify_max_user_watches __read_mostly;
+
static
int inotify_max_user_watches __read_mostly;
static struct kmem_cache *inotify_inode_mark_cachep __read_mostly;
struct kmem_cache *event_priv_cachep __read_mostly;