Commit baa3a2a0 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

sysctl: remove broken sunrpc debug binary sysctls

This is debug code so no need to support binary sysctl, and the binary sysctls
as they were written were not consistent with what showed up in /proc so
remove the binary sysctl support.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 428b367b
...@@ -114,7 +114,6 @@ proc_dodebug(ctl_table *table, int write, struct file *file, ...@@ -114,7 +114,6 @@ proc_dodebug(ctl_table *table, int write, struct file *file,
static ctl_table debug_table[] = { static ctl_table debug_table[] = {
{ {
.ctl_name = CTL_RPCDEBUG,
.procname = "rpc_debug", .procname = "rpc_debug",
.data = &rpc_debug, .data = &rpc_debug,
.maxlen = sizeof(int), .maxlen = sizeof(int),
...@@ -122,7 +121,6 @@ static ctl_table debug_table[] = { ...@@ -122,7 +121,6 @@ static ctl_table debug_table[] = {
.proc_handler = &proc_dodebug .proc_handler = &proc_dodebug
}, },
{ {
.ctl_name = CTL_NFSDEBUG,
.procname = "nfs_debug", .procname = "nfs_debug",
.data = &nfs_debug, .data = &nfs_debug,
.maxlen = sizeof(int), .maxlen = sizeof(int),
...@@ -130,7 +128,6 @@ static ctl_table debug_table[] = { ...@@ -130,7 +128,6 @@ static ctl_table debug_table[] = {
.proc_handler = &proc_dodebug .proc_handler = &proc_dodebug
}, },
{ {
.ctl_name = CTL_NFSDDEBUG,
.procname = "nfsd_debug", .procname = "nfsd_debug",
.data = &nfsd_debug, .data = &nfsd_debug,
.maxlen = sizeof(int), .maxlen = sizeof(int),
...@@ -138,7 +135,6 @@ static ctl_table debug_table[] = { ...@@ -138,7 +135,6 @@ static ctl_table debug_table[] = {
.proc_handler = &proc_dodebug .proc_handler = &proc_dodebug
}, },
{ {
.ctl_name = CTL_NLMDEBUG,
.procname = "nlm_debug", .procname = "nlm_debug",
.data = &nlm_debug, .data = &nlm_debug,
.maxlen = sizeof(int), .maxlen = sizeof(int),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment