sysctl: Move the implementation into fs/proc/proc_sysctl.c
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 6 Jan 2012 12:07:15 +0000 (04:07 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:37:54 +0000 (16:37 -0800)
commit1f87f0b52b1d6581168cb80f86746bc4df918d01
tree73576c0872c61c526ade225d6441a6610beb666b
parentde4e83bd6b5e16d491ec068cd22801d5d063b07a
sysctl: Move the implementation into fs/proc/proc_sysctl.c

Move the core sysctl code from kernel/sysctl.c and kernel/sysctl_check.c
into fs/proc/proc_sysctl.c.

Currently sysctl maintenance is hampered by the sysctl implementation
being split across 3 files with artificial layering between them.
Consolidate the entire sysctl implementation into 1 file so that
it is easier to see what is going on and hopefully allowing for
simpler maintenance.

For functions that are now only used in fs/proc/proc_sysctl.c remove
their declarations from sysctl.h and make them static in fs/proc/proc_sysctl.c

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/internal.h
fs/proc/proc_sysctl.c
include/linux/sysctl.h
kernel/Makefile
kernel/sysctl.c
kernel/sysctl_check.c [deleted file]