summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-15 04:31:21 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-15 05:58:04 +0100
commit3c828e49453c4cb750b231d7116b8721c12b8663 (patch)
treeddea84a8b53c46541b625377c0ed060f2683ac8e /fs
parentfix module_update_markers() compile error (diff)
downloadlinux-3c828e49453c4cb750b231d7116b8721c12b8663.tar.xz
linux-3c828e49453c4cb750b231d7116b8721c12b8663.zip
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>
Diffstat (limited to 'fs')
-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 3ab09a65c456..9ef4d212c507 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: