* [PATCH] inotify: make variables static in inotify_user.c
@ 2008-02-14 1:54 Harvey Harrison
0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-02-14 1:54 UTC (permalink / raw)
To: Robert Love, Andrew Morton; +Cc: LKML
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>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-14 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 1:54 [PATCH] inotify: make variables static in inotify_user.c Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox