diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-25 07:47:24 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-26 21:19:32 +0100 |
| commit | 74351bbcd440189bafa79c806dd3ae8255f42c11 (patch) | |
| tree | fa59735459ef1f4b3b752779e0faacc13ba26c6a /kernel/src | |
| parent | 84d4476650b31dbfc52becf2ff65ddce9d31c9ec (diff) | |
| download | teachos-74351bbcd440189bafa79c806dd3ae8255f42c11.tar.xz teachos-74351bbcd440189bafa79c806dd3ae8255f42c11.zip | |
currently do not support stacked mounts
Diffstat (limited to 'kernel/src')
| -rw-r--r-- | kernel/src/filesystem/vfs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/src/filesystem/vfs.cpp b/kernel/src/filesystem/vfs.cpp index 1c4dd8b..483bae5 100644 --- a/kernel/src/filesystem/vfs.cpp +++ b/kernel/src/filesystem/vfs.cpp @@ -161,7 +161,8 @@ namespace filesystem auto current_dentry = root_mount->root_dentry(); auto current_fs = root_mount->get_filesystem(); - while (current_dentry->has_flag(dentry::dentry_flags::dcache_mounted)) + // TODO BA-FS26 use while to allow stacked mounts? + if (current_dentry->has_flag(dentry::dentry_flags::dcache_mounted)) { auto mnt = m_mount_table.find_mount_by_dentry(current_dentry); if (!mnt) @@ -190,6 +191,7 @@ namespace filesystem } } + // TODO BA-FS26 use while to allow stacked mounts? if (next_dentry->has_flag(dentry::dentry_flags::dcache_mounted)) { auto found_mount = m_mount_table.find_mount_by_dentry(next_dentry); |
