summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-15 01:29:44 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-15 12:44:35 +0200
commit1b739a72c23954092fbecaba5816458ce3276deb (patch)
tree6598a8a583c1c4d4badec18dd9da606c88a7d41d /Kernel/init.cpp
parent96d5d017b70e26605d2340f5a27707db4302b4df (diff)
downloadserenity-1b739a72c23954092fbecaba5816458ce3276deb.zip
Kernel+Userland: Remove chroot functionality
We are not using this for anything and it's just been sitting there gathering dust for well over a year, so let's stop carrying all this complexity around for no good reason.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 65d737c73e..bd275461d6 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -325,8 +325,6 @@ void init_stage2(void*)
PANIC("VirtualFileSystem::mount_root failed");
}
- Process::current()->set_root_directory(VirtualFileSystem::the().root_custody());
-
// Switch out of early boot mode.
g_in_early_boot = false;