net: Move all of the network sysctls without a namespace into init_net.
[deliverable/linux.git] / net / rds / ib_sysctl.c
index 1253b006efdb3b25f2f4bdb5bb3011e0e71fbdf3..0fef3e15777b5396e994dc886ba542e6fbe6c81d 100644 (file)
@@ -116,12 +116,12 @@ static struct ctl_path rds_ib_sysctl_path[] = {
 void rds_ib_sysctl_exit(void)
 {
        if (rds_ib_sysctl_hdr)
-               unregister_sysctl_table(rds_ib_sysctl_hdr);
+               unregister_net_sysctl_table(rds_ib_sysctl_hdr);
 }
 
 int rds_ib_sysctl_init(void)
 {
-       rds_ib_sysctl_hdr = register_sysctl_paths(rds_ib_sysctl_path, rds_ib_sysctl_table);
+       rds_ib_sysctl_hdr = register_net_sysctl_table(&init_net, rds_ib_sysctl_path, rds_ib_sysctl_table);
        if (!rds_ib_sysctl_hdr)
                return -ENOMEM;
        return 0;
This page took 0.026112 seconds and 5 git commands to generate.