Skip to content

Commit baa3a2a

Browse files
ebiedermLinus Torvalds
authored andcommitted
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>
1 parent 428b367 commit baa3a2a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎net/sunrpc/sysctl.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,31 +114,27 @@ proc_dodebug(ctl_table *table, int write, struct file *file,
114114

115115
static ctl_table debug_table[] = {
116116
{
117-
.ctl_name = CTL_RPCDEBUG,
118117
.procname = "rpc_debug",
119118
.data = &rpc_debug,
120119
.maxlen = sizeof(int),
121120
.mode = 0644,
122121
.proc_handler = &proc_dodebug
123122
},
124123
{
125-
.ctl_name = CTL_NFSDEBUG,
126124
.procname = "nfs_debug",
127125
.data = &nfs_debug,
128126
.maxlen = sizeof(int),
129127
.mode = 0644,
130128
.proc_handler = &proc_dodebug
131129
},
132130
{
133-
.ctl_name = CTL_NFSDDEBUG,
134131
.procname = "nfsd_debug",
135132
.data = &nfsd_debug,
136133
.maxlen = sizeof(int),
137134
.mode = 0644,
138135
.proc_handler = &proc_dodebug
139136
},
140137
{
141-
.ctl_name = CTL_NLMDEBUG,
142138
.procname = "nlm_debug",
143139
.data = &nlm_debug,
144140
.maxlen = sizeof(int),

0 commit comments

Comments
 (0)