mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
Kernel: Misc tweaks
This commit is contained in:
parent
064cd2278c
commit
4417bd97d7
Notes:
sideshowbarker
2024-07-19 10:00:54 +09:00
Author: https://github.com/bugaevc
Commit: 4417bd97d7
Pull-request: https://github.com/SerenityOS/serenity/pull/1079
Reviewed-by: https://github.com/awesomekling
2 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue