[PATCH] inotify: make variables static in inotify_user.c

From: Harvey Harrison
Date: Wed Feb 13 2008 - 20:55:30 EST


inotify_max_user_instances, inotify_max_user_watches, inotify_max_queued_events
can all be made static.

Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
fs/inotify_user.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/inotify_user.c b/fs/inotify_user.c
index 3ab09a6..9ef4d21 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:
--
1.5.4.1.1278.gc75be



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/