mirror of https://gitee.com/openkylin/linux.git
inotify: make variables static in inotify_user.c
inotify_max_user_instances, inotify_max_user_watches, inotify_max_queued_events can all be made static. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1387d0d8b0
commit
3c828e4945
|
@ -41,9 +41,9 @@ static struct kmem_cache *event_cachep __read_mostly;
|
|||
static struct vfsmount *inotify_mnt __read_mostly;
|
||||
|
||||
/* these are configurable via /proc/sys/fs/inotify/ */
|
||||
int inotify_max_user_instances __read_mostly;
|
||||
int inotify_max_user_watches __read_mostly;
|
||||
int inotify_max_queued_events __read_mostly;
|
||||
static int inotify_max_user_instances __read_mostly;
|
||||
static int inotify_max_user_watches __read_mostly;
|
||||
static int inotify_max_queued_events __read_mostly;
|
||||
|
||||
/*
|
||||
* Lock ordering:
|
||||
|
|
Loading…
Reference in New Issue