diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
commit | 1557d33007f63dd96e5d15f33af389378e5f2e54 (patch) | |
tree | 06d05722b2ba5d2a67532f779fa8a88efe3c88f1 /net/sunrpc | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | c656ae95d1c5c8ed5763356263ace2d03087efec (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6: (43 commits)
security/tomoyo: Remove now unnecessary handling of security_sysctl.
security/tomoyo: Add a special case to handle accesses through the internal proc mount.
sysctl: Drop & in front of every proc_handler.
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
sysctl: kill dead ctl_handler definitions.
sysctl: Remove the last of the generic binary sysctl support
sysctl net: Remove unused binary sysctl code
sysctl security/tomoyo: Don't look at ctl_name
sysctl arm: Remove binary sysctl support
sysctl x86: Remove dead binary sysctl support
sysctl sh: Remove dead binary sysctl support
sysctl powerpc: Remove dead binary sysctl support
sysctl ia64: Remove dead binary sysctl support
sysctl s390: Remove dead sysctl binary support
sysctl frv: Remove dead binary sysctl support
sysctl mips/lasat: Remove dead binary sysctl support
sysctl drivers: Remove dead binary sysctl support
sysctl crypto: Remove dead binary sysctl support
sysctl security/keys: Remove dead binary sysctl support
sysctl kernel: Remove binary sysctl logic
...
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/sysctl.c | 15 | ||||
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma.c | 40 | ||||
-rw-r--r-- | net/sunrpc/xprtrdma/transport.c | 32 | ||||
-rw-r--r-- | net/sunrpc/xprtsock.c | 28 |
4 files changed, 37 insertions, 78 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 |
diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdma.c index 35fb68b9c8ec..5b8a8ff93a25 100644 --- a/net/sunrpc/xprtrdma/svc_rdma.c +++ b/net/sunrpc/xprtrdma/svc_rdma.c | |||
@@ -120,8 +120,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
120 | .data = &svcrdma_max_requests, | 120 | .data = &svcrdma_max_requests, |
121 | .maxlen = sizeof(unsigned int), | 121 | .maxlen = sizeof(unsigned int), |
122 | .mode = 0644, | 122 | .mode = 0644, |
123 | .proc_handler = &proc_dointvec_minmax, | 123 | .proc_handler = proc_dointvec_minmax, |
124 | .strategy = &sysctl_intvec, | ||
125 | .extra1 = &min_max_requests, | 124 | .extra1 = &min_max_requests, |
126 | .extra2 = &max_max_requests | 125 | .extra2 = &max_max_requests |
127 | }, | 126 | }, |
@@ -130,8 +129,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
130 | .data = &svcrdma_max_req_size, | 129 | .data = &svcrdma_max_req_size, |
131 | .maxlen = sizeof(unsigned int), | 130 | .maxlen = sizeof(unsigned int), |
132 | .mode = 0644, | 131 | .mode = 0644, |
133 | .proc_handler = &proc_dointvec_minmax, | 132 | .proc_handler = proc_dointvec_minmax, |
134 | .strategy = &sysctl_intvec, | ||
135 | .extra1 = &min_max_inline, | 133 | .extra1 = &min_max_inline, |
136 | .extra2 = &max_max_inline | 134 | .extra2 = &max_max_inline |
137 | }, | 135 | }, |
@@ -140,8 +138,7 @@ static ctl_table svcrdma_parm_table[] = { | |||
140 | .data = &svcrdma_ord, | 138 | .data = &svcrdma_ord, |
141 | .maxlen = sizeof(unsigned int), | 139 | .maxlen = sizeof(unsigned int), |
142 | .mode = 0644, | 140 | .mode = 0644, |
143 | .proc_handler = &proc_dointvec_minmax, | 141 | .proc_handler = proc_dointvec_minmax, |
144 | .strategy = &sysctl_intvec, | ||
145 | .extra1 = &min_ord, | 142 | .extra1 = &min_ord, |
146 | .extra2 = &max_ord, | 143 | .extra2 = &max_ord, |
147 | }, | 144 | }, |
@@ -151,67 +148,65 @@ static ctl_table svcrdma_parm_table[] = { | |||
151 | .data = &rdma_stat_read, | 148 | .data = &rdma_stat_read, |
152 | .maxlen = sizeof(atomic_t), | 149 | .maxlen = sizeof(atomic_t), |
153 | .mode = 0644, | 150 | .mode = 0644, |
154 | .proc_handler = &read_reset_stat, | 151 | .proc_handler = read_reset_stat, |
155 | }, | 152 | }, |
156 | { | 153 | { |
157 | .procname = "rdma_stat_recv", | 154 | .procname = "rdma_stat_recv", |
158 | .data = &rdma_stat_recv, | 155 | .data = &rdma_stat_recv, |
159 | .maxlen = sizeof(atomic_t), | 156 | .maxlen = sizeof(atomic_t), |
160 | .mode = 0644, | 157 | .mode = 0644, |
161 | .proc_handler = &read_reset_stat, | 158 | .proc_handler = read_reset_stat, |
162 | }, | 159 | }, |
163 | { | 160 | { |
164 | .procname = "rdma_stat_write", | 161 | .procname = "rdma_stat_write", |
165 | .data = &rdma_stat_write, | 162 | .data = &rdma_stat_write, |
166 | .maxlen = sizeof(atomic_t), | 163 | .maxlen = sizeof(atomic_t), |
167 | .mode = 0644, | 164 | .mode = 0644, |
168 | .proc_handler = &read_reset_stat, | 165 | .proc_handler = read_reset_stat, |
169 | }, | 166 | }, |
170 | { | 167 | { |
171 | .procname = "rdma_stat_sq_starve", | 168 | .procname = "rdma_stat_sq_starve", |
172 | .data = &rdma_stat_sq_starve, | 169 | .data = &rdma_stat_sq_starve, |
173 | .maxlen = sizeof(atomic_t), | 170 | .maxlen = sizeof(atomic_t), |
174 | .mode = 0644, | 171 | .mode = 0644, |
175 | .proc_handler = &read_reset_stat, | 172 | .proc_handler = read_reset_stat, |
176 | }, | 173 | }, |
177 | { | 174 | { |
178 | .procname = "rdma_stat_rq_starve", | 175 | .procname = "rdma_stat_rq_starve", |
179 | .data = &rdma_stat_rq_starve, | 176 | .data = &rdma_stat_rq_starve, |
180 | .maxlen = sizeof(atomic_t), | 177 | .maxlen = sizeof(atomic_t), |
181 | .mode = 0644, | 178 | .mode = 0644, |
182 | .proc_handler = &read_reset_stat, | 179 | .proc_handler = read_reset_stat, |
183 | }, | 180 | }, |
184 | { | 181 | { |
185 | .procname = "rdma_stat_rq_poll", | 182 | .procname = "rdma_stat_rq_poll", |
186 | .data = &rdma_stat_rq_poll, | 183 | .data = &rdma_stat_rq_poll, |
187 | .maxlen = sizeof(atomic_t), | 184 | .maxlen = sizeof(atomic_t), |
188 | .mode = 0644, | 185 | .mode = 0644, |
189 | .proc_handler = &read_reset_stat, | 186 | .proc_handler = read_reset_stat, |
190 | }, | 187 | }, |
191 | { | 188 | { |
192 | .procname = "rdma_stat_rq_prod", | 189 | .procname = "rdma_stat_rq_prod", |
193 | .data = &rdma_stat_rq_prod, | 190 | .data = &rdma_stat_rq_prod, |
194 | .maxlen = sizeof(atomic_t), | 191 | .maxlen = sizeof(atomic_t), |
195 | .mode = 0644, | 192 | .mode = 0644, |
196 | .proc_handler = &read_reset_stat, | 193 | .proc_handler = read_reset_stat, |
197 | }, | 194 | }, |
198 | { | 195 | { |
199 | .procname = "rdma_stat_sq_poll", | 196 | .procname = "rdma_stat_sq_poll", |
200 | .data = &rdma_stat_sq_poll, | 197 | .data = &rdma_stat_sq_poll, |
201 | .maxlen = sizeof(atomic_t), | 198 | .maxlen = sizeof(atomic_t), |
202 | .mode = 0644, | 199 | .mode = 0644, |
203 | .proc_handler = &read_reset_stat, | 200 | .proc_handler = read_reset_stat, |
204 | }, | 201 | }, |
205 | { | 202 | { |
206 | .procname = "rdma_stat_sq_prod", | 203 | .procname = "rdma_stat_sq_prod", |
207 | .data = &rdma_stat_sq_prod, | 204 | .data = &rdma_stat_sq_prod, |
208 | .maxlen = sizeof(atomic_t), | 205 | .maxlen = sizeof(atomic_t), |
209 | .mode = 0644, | 206 | .mode = 0644, |
210 | .proc_handler = &read_reset_stat, | 207 | .proc_handler = read_reset_stat, |
211 | }, | ||
212 | { | ||
213 | .ctl_name = 0, | ||
214 | }, | 208 | }, |
209 | { }, | ||
215 | }; | 210 | }; |
216 | 211 | ||
217 | static ctl_table svcrdma_table[] = { | 212 | static ctl_table svcrdma_table[] = { |
@@ -220,21 +215,16 @@ static ctl_table svcrdma_table[] = { | |||
220 | .mode = 0555, | 215 | .mode = 0555, |
221 | .child = svcrdma_parm_table | 216 | .child = svcrdma_parm_table |
222 | }, | 217 | }, |
223 | { | 218 | { }, |
224 | .ctl_name = 0, | ||
225 | }, | ||
226 | }; | 219 | }; |
227 | 220 | ||
228 | static ctl_table svcrdma_root_table[] = { | 221 | static ctl_table svcrdma_root_table[] = { |
229 | { | 222 | { |
230 | .ctl_name = CTL_SUNRPC, | ||
231 | .procname = "sunrpc", | 223 | .procname = "sunrpc", |
232 | .mode = 0555, | 224 | .mode = 0555, |
233 | .child = svcrdma_table | 225 | .child = svcrdma_table |
234 | }, | 226 | }, |
235 | { | 227 | { }, |
236 | .ctl_name = 0, | ||
237 | }, | ||
238 | }; | 228 | }; |
239 | 229 | ||
240 | void svc_rdma_cleanup(void) | 230 | void svc_rdma_cleanup(void) |
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c index 9a63f669ece4..7018eef1dcdd 100644 --- a/net/sunrpc/xprtrdma/transport.c +++ b/net/sunrpc/xprtrdma/transport.c | |||
@@ -86,79 +86,63 @@ static struct ctl_table_header *sunrpc_table_header; | |||
86 | 86 | ||
87 | static ctl_table xr_tunables_table[] = { | 87 | static ctl_table xr_tunables_table[] = { |
88 | { | 88 | { |
89 | .ctl_name = CTL_UNNUMBERED, | ||
90 | .procname = "rdma_slot_table_entries", | 89 | .procname = "rdma_slot_table_entries", |
91 | .data = &xprt_rdma_slot_table_entries, | 90 | .data = &xprt_rdma_slot_table_entries, |
92 | .maxlen = sizeof(unsigned int), | 91 | .maxlen = sizeof(unsigned int), |
93 | .mode = 0644, | 92 | .mode = 0644, |
94 | .proc_handler = &proc_dointvec_minmax, | 93 | .proc_handler = proc_dointvec_minmax, |
95 | .strategy = &sysctl_intvec, | ||
96 | .extra1 = &min_slot_table_size, | 94 | .extra1 = &min_slot_table_size, |
97 | .extra2 = &max_slot_table_size | 95 | .extra2 = &max_slot_table_size |
98 | }, | 96 | }, |
99 | { | 97 | { |
100 | .ctl_name = CTL_UNNUMBERED, | ||
101 | .procname = "rdma_max_inline_read", | 98 | .procname = "rdma_max_inline_read", |
102 | .data = &xprt_rdma_max_inline_read, | 99 | .data = &xprt_rdma_max_inline_read, |
103 | .maxlen = sizeof(unsigned int), | 100 | .maxlen = sizeof(unsigned int), |
104 | .mode = 0644, | 101 | .mode = 0644, |
105 | .proc_handler = &proc_dointvec, | 102 | .proc_handler = proc_dointvec, |
106 | .strategy = &sysctl_intvec, | ||
107 | }, | 103 | }, |
108 | { | 104 | { |
109 | .ctl_name = CTL_UNNUMBERED, | ||
110 | .procname = "rdma_max_inline_write", | 105 | .procname = "rdma_max_inline_write", |
111 | .data = &xprt_rdma_max_inline_write, | 106 | .data = &xprt_rdma_max_inline_write, |
112 | .maxlen = sizeof(unsigned int), | 107 | .maxlen = sizeof(unsigned int), |
113 | .mode = 0644, | 108 | .mode = 0644, |
114 | .proc_handler = &proc_dointvec, | 109 | .proc_handler = proc_dointvec, |
115 | .strategy = &sysctl_intvec, | ||
116 | }, | 110 | }, |
117 | { | 111 | { |
118 | .ctl_name = CTL_UNNUMBERED, | ||
119 | .procname = "rdma_inline_write_padding", | 112 | .procname = "rdma_inline_write_padding", |
120 | .data = &xprt_rdma_inline_write_padding, | 113 | .data = &xprt_rdma_inline_write_padding, |
121 | .maxlen = sizeof(unsigned int), | 114 | .maxlen = sizeof(unsigned int), |
122 | .mode = 0644, | 115 | .mode = 0644, |
123 | .proc_handler = &proc_dointvec_minmax, | 116 | .proc_handler = proc_dointvec_minmax, |
124 | .strategy = &sysctl_intvec, | ||
125 | .extra1 = &zero, | 117 | .extra1 = &zero, |
126 | .extra2 = &max_padding, | 118 | .extra2 = &max_padding, |
127 | }, | 119 | }, |
128 | { | 120 | { |
129 | .ctl_name = CTL_UNNUMBERED, | ||
130 | .procname = "rdma_memreg_strategy", | 121 | .procname = "rdma_memreg_strategy", |
131 | .data = &xprt_rdma_memreg_strategy, | 122 | .data = &xprt_rdma_memreg_strategy, |
132 | .maxlen = sizeof(unsigned int), | 123 | .maxlen = sizeof(unsigned int), |
133 | .mode = 0644, | 124 | .mode = 0644, |
134 | .proc_handler = &proc_dointvec_minmax, | 125 | .proc_handler = proc_dointvec_minmax, |
135 | .strategy = &sysctl_intvec, | ||
136 | .extra1 = &min_memreg, | 126 | .extra1 = &min_memreg, |
137 | .extra2 = &max_memreg, | 127 | .extra2 = &max_memreg, |
138 | }, | 128 | }, |
139 | { | 129 | { |
140 | .ctl_name = CTL_UNNUMBERED, | ||
141 | .procname = "rdma_pad_optimize", | 130 | .procname = "rdma_pad_optimize", |
142 | .data = &xprt_rdma_pad_optimize, | 131 | .data = &xprt_rdma_pad_optimize, |
143 | .maxlen = sizeof(unsigned int), | 132 | .maxlen = sizeof(unsigned int), |
144 | .mode = 0644, | 133 | .mode = 0644, |
145 | .proc_handler = &proc_dointvec, | 134 | .proc_handler = proc_dointvec, |
146 | }, | ||
147 | { | ||
148 | .ctl_name = 0, | ||
149 | }, | 135 | }, |
136 | { }, | ||
150 | }; | 137 | }; |
151 | 138 | ||
152 | static ctl_table sunrpc_table[] = { | 139 | static ctl_table sunrpc_table[] = { |
153 | { | 140 | { |
154 | .ctl_name = CTL_SUNRPC, | ||
155 | .procname = "sunrpc", | 141 | .procname = "sunrpc", |
156 | .mode = 0555, | 142 | .mode = 0555, |
157 | .child = xr_tunables_table | 143 | .child = xr_tunables_table |
158 | }, | 144 | }, |
159 | { | 145 | { }, |
160 | .ctl_name = 0, | ||
161 | }, | ||
162 | }; | 146 | }; |
163 | 147 | ||
164 | #endif | 148 | #endif |
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 37c5475ba258..04732d09013e 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -81,46 +81,38 @@ static struct ctl_table_header *sunrpc_table_header; | |||
81 | */ | 81 | */ |
82 | static ctl_table xs_tunables_table[] = { | 82 | static ctl_table xs_tunables_table[] = { |
83 | { | 83 | { |
84 | .ctl_name = CTL_SLOTTABLE_UDP, | ||
85 | .procname = "udp_slot_table_entries", | 84 | .procname = "udp_slot_table_entries", |
86 | .data = &xprt_udp_slot_table_entries, | 85 | .data = &xprt_udp_slot_table_entries, |
87 | .maxlen = sizeof(unsigned int), | 86 | .maxlen = sizeof(unsigned int), |
88 | .mode = 0644, | 87 | .mode = 0644, |
89 | .proc_handler = &proc_dointvec_minmax, | 88 | .proc_handler = proc_dointvec_minmax, |
90 | .strategy = &sysctl_intvec, | ||
91 | .extra1 = &min_slot_table_size, | 89 | .extra1 = &min_slot_table_size, |
92 | .extra2 = &max_slot_table_size | 90 | .extra2 = &max_slot_table_size |
93 | }, | 91 | }, |
94 | { | 92 | { |
95 | .ctl_name = CTL_SLOTTABLE_TCP, | ||
96 | .procname = "tcp_slot_table_entries", | 93 | .procname = "tcp_slot_table_entries", |
97 | .data = &xprt_tcp_slot_table_entries, | 94 | .data = &xprt_tcp_slot_table_entries, |
98 | .maxlen = sizeof(unsigned int), | 95 | .maxlen = sizeof(unsigned int), |
99 | .mode = 0644, | 96 | .mode = 0644, |
100 | .proc_handler = &proc_dointvec_minmax, | 97 | .proc_handler = proc_dointvec_minmax, |
101 | .strategy = &sysctl_intvec, | ||
102 | .extra1 = &min_slot_table_size, | 98 | .extra1 = &min_slot_table_size, |
103 | .extra2 = &max_slot_table_size | 99 | .extra2 = &max_slot_table_size |
104 | }, | 100 | }, |
105 | { | 101 | { |
106 | .ctl_name = CTL_MIN_RESVPORT, | ||
107 | .procname = "min_resvport", | 102 | .procname = "min_resvport", |
108 | .data = &xprt_min_resvport, | 103 | .data = &xprt_min_resvport, |
109 | .maxlen = sizeof(unsigned int), | 104 | .maxlen = sizeof(unsigned int), |
110 | .mode = 0644, | 105 | .mode = 0644, |
111 | .proc_handler = &proc_dointvec_minmax, | 106 | .proc_handler = proc_dointvec_minmax, |
112 | .strategy = &sysctl_intvec, | ||
113 | .extra1 = &xprt_min_resvport_limit, | 107 | .extra1 = &xprt_min_resvport_limit, |
114 | .extra2 = &xprt_max_resvport_limit | 108 | .extra2 = &xprt_max_resvport_limit |
115 | }, | 109 | }, |
116 | { | 110 | { |
117 | .ctl_name = CTL_MAX_RESVPORT, | ||
118 | .procname = "max_resvport", | 111 | .procname = "max_resvport", |
119 | .data = &xprt_max_resvport, | 112 | .data = &xprt_max_resvport, |
120 | .maxlen = sizeof(unsigned int), | 113 | .maxlen = sizeof(unsigned int), |
121 | .mode = 0644, | 114 | .mode = 0644, |
122 | .proc_handler = &proc_dointvec_minmax, | 115 | .proc_handler = proc_dointvec_minmax, |
123 | .strategy = &sysctl_intvec, | ||
124 | .extra1 = &xprt_min_resvport_limit, | 116 | .extra1 = &xprt_min_resvport_limit, |
125 | .extra2 = &xprt_max_resvport_limit | 117 | .extra2 = &xprt_max_resvport_limit |
126 | }, | 118 | }, |
@@ -129,24 +121,18 @@ static ctl_table xs_tunables_table[] = { | |||
129 | .data = &xs_tcp_fin_timeout, | 121 | .data = &xs_tcp_fin_timeout, |
130 | .maxlen = sizeof(xs_tcp_fin_timeout), | 122 | .maxlen = sizeof(xs_tcp_fin_timeout), |
131 | .mode = 0644, | 123 | .mode = 0644, |
132 | .proc_handler = &proc_dointvec_jiffies, | 124 | .proc_handler = proc_dointvec_jiffies, |
133 | .strategy = sysctl_jiffies | ||
134 | }, | ||
135 | { | ||
136 | .ctl_name = 0, | ||
137 | }, | 125 | }, |
126 | { }, | ||
138 | }; | 127 | }; |
139 | 128 | ||
140 | static ctl_table sunrpc_table[] = { | 129 | static ctl_table sunrpc_table[] = { |
141 | { | 130 | { |
142 | .ctl_name = CTL_SUNRPC, | ||
143 | .procname = "sunrpc", | 131 | .procname = "sunrpc", |
144 | .mode = 0555, | 132 | .mode = 0555, |
145 | .child = xs_tunables_table | 133 | .child = xs_tunables_table |
146 | }, | 134 | }, |
147 | { | 135 | { }, |
148 | .ctl_name = 0, | ||
149 | }, | ||
150 | }; | 136 | }; |
151 | 137 | ||
152 | #endif | 138 | #endif |