diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 06:05:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:22 -0400 |
commit | baa3a2a0d24ebcf1c451bec8e5bee3d3467f4cbb (patch) | |
tree | 8b123d89e11e3f6057c6b3fd2dad823613992a85 | |
parent | 428b367bff28bd9d41543eb0324197d09c7d6beb (diff) |
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: Eric 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | net/sunrpc/sysctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index 738db32a287d..864b541bbf51 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c | |||
@@ -114,7 +114,6 @@ done: | |||
114 | 114 | ||
115 | static ctl_table debug_table[] = { | 115 | static ctl_table debug_table[] = { |
116 | { | 116 | { |
117 | .ctl_name = CTL_RPCDEBUG, | ||
118 | .procname = "rpc_debug", | 117 | .procname = "rpc_debug", |
119 | .data = &rpc_debug, | 118 | .data = &rpc_debug, |
120 | .maxlen = sizeof(int), | 119 | .maxlen = sizeof(int), |
@@ -122,7 +121,6 @@ static ctl_table debug_table[] = { | |||
122 | .proc_handler = &proc_dodebug | 121 | .proc_handler = &proc_dodebug |
123 | }, | 122 | }, |
124 | { | 123 | { |
125 | .ctl_name = CTL_NFSDEBUG, | ||
126 | .procname = "nfs_debug", | 124 | .procname = "nfs_debug", |
127 | .data = &nfs_debug, | 125 | .data = &nfs_debug, |
128 | .maxlen = sizeof(int), | 126 | .maxlen = sizeof(int), |
@@ -130,7 +128,6 @@ static ctl_table debug_table[] = { | |||
130 | .proc_handler = &proc_dodebug | 128 | .proc_handler = &proc_dodebug |
131 | }, | 129 | }, |
132 | { | 130 | { |
133 | .ctl_name = CTL_NFSDDEBUG, | ||
134 | .procname = "nfsd_debug", | 131 | .procname = "nfsd_debug", |
135 | .data = &nfsd_debug, | 132 | .data = &nfsd_debug, |
136 | .maxlen = sizeof(int), | 133 | .maxlen = sizeof(int), |
@@ -138,7 +135,6 @@ static ctl_table debug_table[] = { | |||
138 | .proc_handler = &proc_dodebug | 135 | .proc_handler = &proc_dodebug |
139 | }, | 136 | }, |
140 | { | 137 | { |
141 | .ctl_name = CTL_NLMDEBUG, | ||
142 | .procname = "nlm_debug", | 138 | .procname = "nlm_debug", |
143 | .data = &nlm_debug, | 139 | .data = &nlm_debug, |
144 | .maxlen = sizeof(int), | 140 | .maxlen = sizeof(int), |