sysctl: simplify ->strategy
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 16 Oct 2008 05:04:23 +0000 (22:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:47 +0000 (11:21 -0700)
commitf221e726bf4e082a05dcd573379ac859bfba7126
treea05f674caac693dc9aec7e46dd06115389f7ece3
parentf40cbaa5b0a4719489e6e7947351c99a159aca30
sysctl: simplify ->strategy

name and nlen parameters passed to ->strategy hook are unused, remove
them.  In general ->strategy hook should know what it's doing, and don't
do something tricky for which, say, pointer to original userspace array
may be needed (name).

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net> [ networking bits ]
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 files changed:
arch/frv/kernel/pm.c
arch/mips/lasat/sysctl.c
drivers/char/random.c
include/linux/sysctl.h
include/net/ip.h
include/net/ndisc.h
ipc/ipc_sysctl.c
kernel/sysctl.c
kernel/utsname_sysctl.c
net/decnet/dn_dev.c
net/decnet/sysctl_net_decnet.c
net/ipv4/devinet.c
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv6/addrconf.c
net/ipv6/ndisc.c