aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-14 19:31:21 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 20:58:04 -0800
commit3c828e49453c4cb750b231d7116b8721c12b8663 (patch)
treeddea84a8b53c46541b625377c0ed060f2683ac8e
parent1387d0d8b002c8ce90412fb2695ec6085eb8ce01 (diff)
downloadlinux-2.6.34-ux500-3c828e49453c4cb750b231d7116b8721c12b8663.tar.gz
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>
-rw-r--r--fs/inotify_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/inotify_user.c b/fs/inotify_user.c
index 3ab09a65c45..9ef4d212c50 100644
--- a/fs/inotify_user.c
+++ b/fs/inotify_user.c
@@ -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: