diff options
Diffstat (limited to 'net/sunrpc/sysctl.c')
| -rw-r--r-- | net/sunrpc/sysctl.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index d89b048ad6bb..82b27528d0c4 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #include <linux/sunrpc/types.h> | 18 | #include <linux/sunrpc/types.h> |
| 19 | #include <linux/sunrpc/sched.h> | 19 | #include <linux/sunrpc/sched.h> |
| 20 | #include <linux/sunrpc/stats.h> | 20 | #include <linux/sunrpc/stats.h> |
| 21 | #include <linux/sunrpc/xprt.h> | ||
| 22 | 21 | ||
| 23 | /* | 22 | /* |
| 24 | * Declare the debug flags here | 23 | * Declare the debug flags here |
| @@ -119,11 +118,6 @@ done: | |||
| 119 | } | 118 | } |
| 120 | 119 | ||
| 121 | 120 | ||
| 122 | static unsigned int min_slot_table_size = RPC_MIN_SLOT_TABLE; | ||
| 123 | static unsigned int max_slot_table_size = RPC_MAX_SLOT_TABLE; | ||
| 124 | static unsigned int xprt_min_resvport_limit = RPC_MIN_RESVPORT; | ||
| 125 | static unsigned int xprt_max_resvport_limit = RPC_MAX_RESVPORT; | ||
| 126 | |||
| 127 | static ctl_table debug_table[] = { | 121 | static ctl_table debug_table[] = { |
| 128 | { | 122 | { |
| 129 | .ctl_name = CTL_RPCDEBUG, | 123 | .ctl_name = CTL_RPCDEBUG, |
| @@ -157,50 +151,6 @@ static ctl_table debug_table[] = { | |||
| 157 | .mode = 0644, | 151 | .mode = 0644, |
| 158 | .proc_handler = &proc_dodebug | 152 | .proc_handler = &proc_dodebug |
| 159 | }, | 153 | }, |
| 160 | { | ||
| 161 | .ctl_name = CTL_SLOTTABLE_UDP, | ||
| 162 | .procname = "udp_slot_table_entries", | ||
| 163 | .data = &xprt_udp_slot_table_entries, | ||
| 164 | .maxlen = sizeof(unsigned int), | ||
| 165 | .mode = 0644, | ||
| 166 | .proc_handler = &proc_dointvec_minmax, | ||
| 167 | .strategy = &sysctl_intvec, | ||
| 168 | .extra1 = &min_slot_table_size, | ||
| 169 | .extra2 = &max_slot_table_size | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | .ctl_name = CTL_SLOTTABLE_TCP, | ||
| 173 | .procname = "tcp_slot_table_entries", | ||
| 174 | .data = &xprt_tcp_slot_table_entries, | ||
| 175 | .maxlen = sizeof(unsigned int), | ||
| 176 | .mode = 0644, | ||
| 177 | .proc_handler = &proc_dointvec_minmax, | ||
| 178 | .strategy = &sysctl_intvec, | ||
| 179 | .extra1 = &min_slot_table_size, | ||
| 180 | .extra2 = &max_slot_table_size | ||
| 181 | }, | ||
| 182 | { | ||
| 183 | .ctl_name = CTL_MIN_RESVPORT, | ||
| 184 | .procname = "min_resvport", | ||
| 185 | .data = &xprt_min_resvport, | ||
| 186 | .maxlen = sizeof(unsigned int), | ||
| 187 | .mode = 0644, | ||
| 188 | .proc_handler = &proc_dointvec_minmax, | ||
| 189 | .strategy = &sysctl_intvec, | ||
| 190 | .extra1 = &xprt_min_resvport_limit, | ||
| 191 | .extra2 = &xprt_max_resvport_limit | ||
| 192 | }, | ||
| 193 | { | ||
| 194 | .ctl_name = CTL_MAX_RESVPORT, | ||
| 195 | .procname = "max_resvport", | ||
| 196 | .data = &xprt_max_resvport, | ||
| 197 | .maxlen = sizeof(unsigned int), | ||
| 198 | .mode = 0644, | ||
| 199 | .proc_handler = &proc_dointvec_minmax, | ||
| 200 | .strategy = &sysctl_intvec, | ||
| 201 | .extra1 = &xprt_min_resvport_limit, | ||
| 202 | .extra2 = &xprt_max_resvport_limit | ||
| 203 | }, | ||
| 204 | { .ctl_name = 0 } | 154 | { .ctl_name = 0 } |
| 205 | }; | 155 | }; |
| 206 | 156 | ||
