net: Move all of the network sysctls without a namespace into init_net.
[deliverable/linux.git] / net / phonet / sysctl.c
index 8bed7675b3f49cf1176b6ec846d16165d480ec08..aa55db5f383bf6b54aaee9968960b562f35ab66b 100644 (file)
@@ -106,11 +106,11 @@ static struct ctl_path phonet_ctl_path[] = {
 
 int __init phonet_sysctl_init(void)
 {
-       phonet_table_hrd = register_sysctl_paths(phonet_ctl_path, phonet_table);
+       phonet_table_hrd = register_net_sysctl_table(&init_net, phonet_ctl_path, phonet_table);
        return phonet_table_hrd == NULL ? -ENOMEM : 0;
 }
 
 void phonet_sysctl_exit(void)
 {
-       unregister_sysctl_table(phonet_table_hrd);
+       unregister_net_sysctl_table(phonet_table_hrd);
 }
This page took 0.026202 seconds and 5 git commands to generate.