From: H Hartley Sweeten Date: Fri, 14 May 2010 20:35:21 +0000 (-0500) Subject: inotify_user.c: make local symbol static X-Git-Tag: v2.6.36-rc1~303^2~32 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0a24887afacefbe2c44e0eee4150b43959a60665;p=linux-2.6-block.git inotify_user.c: make local symbol static The symbol inotify_max_user_watches is not used outside this file and should be static. Signed-off-by: H Hartley Sweeten Cc: John McCutchan Cc: Robert Love Cc: Eric Paris Signed-off-by: Eric Paris --- diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 1ce71f5b9589..44aeb0f1b222 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -46,7 +46,7 @@ /* these are configurable via /proc/sys/fs/inotify/ */ static int inotify_max_user_instances __read_mostly; static int inotify_max_queued_events __read_mostly; -int inotify_max_user_watches __read_mostly; +static int inotify_max_user_watches __read_mostly; static struct kmem_cache *inotify_inode_mark_cachep __read_mostly; struct kmem_cache *event_priv_cachep __read_mostly;