Skip to contentSkip to conversation

inotify: make variables static in inotify_user.c

PATCH New Harvey Harrison 1 participant 1 message Feb 14, 2008 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 fs/inotify_user.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
fs/inotify_user.c +3 -3
index 3ab09a6..9ef4d21 100644
@@ -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:
Signature · 1 line
1.5.4.1.1278.gc75be