diff options
-rw-r--r-- | Kernel/FileSystem/VirtualFileSystem.cpp | 1 | ||||
-rw-r--r-- | Kernel/init.cpp | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/FileSystem/VirtualFileSystem.cpp b/Kernel/FileSystem/VirtualFileSystem.cpp index 56da6e9984..2ee874c5e0 100644 --- a/Kernel/FileSystem/VirtualFileSystem.cpp +++ b/Kernel/FileSystem/VirtualFileSystem.cpp @@ -144,6 +144,7 @@ void VFS::traverse_directory_inode(Inode& dir_inode, Function<bool(const FS::Dir else resolved_inode = entry.inode; + // FIXME: This is now broken considering chroot and bind mounts. if (dir_inode.identifier().is_root_inode() && !is_vfs_root(dir_inode.identifier()) && !strcmp(entry.name, "..")) { auto mount = find_mount_for_guest(entry.inode); ASSERT(mount); diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 7b3c0ee7e3..7ba201f434 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -29,10 +29,7 @@ #include <Kernel/Devices/SB16.h> #include <Kernel/Devices/SerialDevice.h> #include <Kernel/Devices/ZeroDevice.h> -#include <Kernel/FileSystem/DevPtsFS.h> #include <Kernel/FileSystem/Ext2FileSystem.h> -#include <Kernel/FileSystem/ProcFS.h> -#include <Kernel/FileSystem/TmpFS.h> #include <Kernel/FileSystem/VirtualFileSystem.h> #include <Kernel/Heap/SlabAllocator.h> #include <Kernel/Heap/kmalloc.h> |