diff options
author | Dave Young | 2010-02-26 02:28:57 +0100 |
---|---|---|
committer | Eric Paris | 2010-07-28 15:59:01 +0200 |
commit | d14f1729483fad3a8817fbbcbd017678b7d1ad26 (patch) | |
tree | ebb47471a0fff9e0bce46043d147f445584acfb0 /kernel | |
parent | dnotify: move dir_notify_enable declaration (diff) | |
download | kernel-qcow2-linux-d14f1729483fad3a8817fbbcbd017678b7d1ad26.tar.gz kernel-qcow2-linux-d14f1729483fad3a8817fbbcbd017678b7d1ad26.tar.xz kernel-qcow2-linux-d14f1729483fad3a8817fbbcbd017678b7d1ad26.zip |
sysctl extern cleanup: inotify
Extern declarations in sysctl.c should be move to their own head file, and
then include them in relavant .c files.
Move inotify_table extern declaration to linux/inotify.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 7b983dbfe0ec..fe30db7bdb0a 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -131,6 +131,9 @@ static int min_percpu_pagelist_fract = 8; static int ngroups_max = NGROUPS_MAX; +#ifdef CONFIG_INOTIFY_USER +#include <linux/inotify.h> +#endif #ifdef CONFIG_SPARC #include <asm/system.h> #endif @@ -207,9 +210,6 @@ static struct ctl_table fs_table[]; static struct ctl_table debug_table[]; static struct ctl_table dev_table[]; extern struct ctl_table random_table[]; -#ifdef CONFIG_INOTIFY_USER -extern struct ctl_table inotify_table[]; -#endif #ifdef CONFIG_EPOLL extern struct ctl_table epoll_table[]; #endif |