sysctl.c (2b1bec5f52fec033ed0026e7d85f641e20e1cbb9) sysctl.c (0b4d414714f0d2f922d39424b0c5c82ad900a381)
1/*
2 * linux/net/sunrpc/sysctl.c
3 *
4 * Sysctl interface to sunrpc module.
5 *
6 * I would prefer to register the sunrpc table below sys/net, but that's
7 * impossible at the moment.
8 */

--- 22 unchanged lines hidden (view full) ---

31
32static struct ctl_table_header *sunrpc_table_header;
33static ctl_table sunrpc_table[];
34
35void
36rpc_register_sysctl(void)
37{
38 if (!sunrpc_table_header)
1/*
2 * linux/net/sunrpc/sysctl.c
3 *
4 * Sysctl interface to sunrpc module.
5 *
6 * I would prefer to register the sunrpc table below sys/net, but that's
7 * impossible at the moment.
8 */

--- 22 unchanged lines hidden (view full) ---

31
32static struct ctl_table_header *sunrpc_table_header;
33static ctl_table sunrpc_table[];
34
35void
36rpc_register_sysctl(void)
37{
38 if (!sunrpc_table_header)
39 sunrpc_table_header = register_sysctl_table(sunrpc_table, 0);
39 sunrpc_table_header = register_sysctl_table(sunrpc_table);
40}
41
42void
43rpc_unregister_sysctl(void)
44{
45 if (sunrpc_table_header) {
46 unregister_sysctl_table(sunrpc_table_header);
47 sunrpc_table_header = NULL;

--- 114 unchanged lines hidden ---
40}
41
42void
43rpc_unregister_sysctl(void)
44{
45 if (sunrpc_table_header) {
46 unregister_sysctl_table(sunrpc_table_header);
47 sunrpc_table_header = NULL;

--- 114 unchanged lines hidden ---