aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2018-04-10 23:30:58 +0000
committerLinus Torvalds <[email protected]>2018-04-11 17:28:33 +0000
commite74a0effffbbea75fe2b6770948f84fcb0917cdd (patch)
tree63b98a1e71e77ebf850f781d2b0af949319e8171 /fs/proc/root.c
parentproc: do less stuff under ->pde_unload_lock (diff)
downloadkernel-e74a0effffbbea75fe2b6770948f84fcb0917cdd.tar.gz
kernel-e74a0effffbbea75fe2b6770948f84fcb0917cdd.zip
proc: move /proc/sysvipc creation to where it belongs
Move the proc_mkdir() call within the sysvipc subsystem such that we avoid polluting proc_root_init() with petty cpp. [[email protected]: contributed changelog] Link: http://lkml.kernel.org/r/20180216161732.GA10297@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index ede8e64974be..4a19e02c7ed0 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -136,10 +136,6 @@ void __init proc_root_init(void)
proc_symlink("mounts", NULL, "self/mounts");
proc_net_init();
-
-#ifdef CONFIG_SYSVIPC
- proc_mkdir("sysvipc", NULL);
-#endif
proc_mkdir("fs", NULL);
proc_mkdir("driver", NULL);
proc_create_mount_point("fs/nfsd"); /* somewhere for the nfsd filesystem to be mounted */