aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/proc/proc_net.c2
-rw-r--r--fs/proc/root.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c
index 39481028ec08..a63af3e0a612 100644
--- a/fs/proc/proc_net.c
+++ b/fs/proc/proc_net.c
@@ -226,7 +226,7 @@ static struct pernet_operations __net_initdata proc_net_ns_ops = {
226 226
227int __init proc_net_init(void) 227int __init proc_net_init(void)
228{ 228{
229 proc_symlink("net", NULL, "thread-self/net"); 229 proc_symlink("net", NULL, "self/net");
230 230
231 return register_pernet_subsys(&proc_net_ns_ops); 231 return register_pernet_subsys(&proc_net_ns_ops);
232} 232}
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 6296c7626963..094e44d4a6be 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -173,7 +173,7 @@ void __init proc_root_init(void)
173 173
174 proc_self_init(); 174 proc_self_init();
175 proc_thread_self_init(); 175 proc_thread_self_init();
176 proc_symlink("mounts", NULL, "thread-self/mounts"); 176 proc_symlink("mounts", NULL, "self/mounts");
177 177
178 proc_net_init(); 178 proc_net_init();
179 179