diff options
Diffstat (limited to 'net/sunrpc/sysctl.c')
| -rw-r--r-- | net/sunrpc/sysctl.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index 42f9748ae093..e65dcc613339 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c | |||
| @@ -139,46 +139,45 @@ static ctl_table debug_table[] = { | |||
| 139 | .data = &rpc_debug, | 139 | .data = &rpc_debug, |
| 140 | .maxlen = sizeof(int), | 140 | .maxlen = sizeof(int), |
| 141 | .mode = 0644, | 141 | .mode = 0644, |
| 142 | .proc_handler = &proc_dodebug | 142 | .proc_handler = proc_dodebug |
| 143 | }, | 143 | }, |
| 144 | { | 144 | { |
| 145 | .procname = "nfs_debug", | 145 | .procname = "nfs_debug", |
| 146 | .data = &nfs_debug, | 146 | .data = &nfs_debug, |
| 147 | .maxlen = sizeof(int), | 147 | .maxlen = sizeof(int), |
| 148 | .mode = 0644, | 148 | .mode = 0644, |
| 149 | .proc_handler = &proc_dodebug | 149 | .proc_handler = proc_dodebug |
| 150 | }, | 150 | }, |
| 151 | { | 151 | { |
| 152 | .procname = "nfsd_debug", | 152 | .procname = "nfsd_debug", |
| 153 | .data = &nfsd_debug, | 153 | .data = &nfsd_debug, |
| 154 | .maxlen = sizeof(int), | 154 | .maxlen = sizeof(int), |
| 155 | .mode = 0644, | 155 | .mode = 0644, |
| 156 | .proc_handler = &proc_dodebug | 156 | .proc_handler = proc_dodebug |
| 157 | }, | 157 | }, |
| 158 | { | 158 | { |
| 159 | .procname = "nlm_debug", | 159 | .procname = "nlm_debug", |
| 160 | .data = &nlm_debug, | 160 | .data = &nlm_debug, |
| 161 | .maxlen = sizeof(int), | 161 | .maxlen = sizeof(int), |
| 162 | .mode = 0644, | 162 | .mode = 0644, |
| 163 | .proc_handler = &proc_dodebug | 163 | .proc_handler = proc_dodebug |
| 164 | }, | 164 | }, |
| 165 | { | 165 | { |
| 166 | .procname = "transports", | 166 | .procname = "transports", |
| 167 | .maxlen = 256, | 167 | .maxlen = 256, |
| 168 | .mode = 0444, | 168 | .mode = 0444, |
| 169 | .proc_handler = &proc_do_xprt, | 169 | .proc_handler = proc_do_xprt, |
| 170 | }, | 170 | }, |
| 171 | { .ctl_name = 0 } | 171 | { } |
| 172 | }; | 172 | }; |
| 173 | 173 | ||
| 174 | static ctl_table sunrpc_table[] = { | 174 | static ctl_table sunrpc_table[] = { |
| 175 | { | 175 | { |
| 176 | .ctl_name = CTL_SUNRPC, | ||
| 177 | .procname = "sunrpc", | 176 | .procname = "sunrpc", |
| 178 | .mode = 0555, | 177 | .mode = 0555, |
| 179 | .child = debug_table | 178 | .child = debug_table |
| 180 | }, | 179 | }, |
| 181 | { .ctl_name = 0 } | 180 | { } |
| 182 | }; | 181 | }; |
| 183 | 182 | ||
| 184 | #endif | 183 | #endif |
