aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r--init/do_mounts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 2ae5b8462399..1161dfd7b0d3 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -378,6 +378,5 @@ void __init prepare_namespace(void)
378out: 378out:
379 sys_mount(".", "/", NULL, MS_MOVE, NULL); 379 sys_mount(".", "/", NULL, MS_MOVE, NULL);
380 sys_chroot("."); 380 sys_chroot(".");
381 security_sb_post_mountroot();
382} 381}
383 382