aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/filesystem/mount_table.cpp
diff options
context:
space:
mode:
authorLukas Oesch <lukasoesch20@gmail.com>2026-05-14 15:41:54 +0200
committerLukas Oesch <lukasoesch20@gmail.com>2026-05-16 11:56:07 +0200
commit13f41e3816bd0be96c9bf728b534a58e6d4e5c28 (patch)
tree95b0a3e3b6d472b86387ed2496d6acb768be62e3 /kernel/src/filesystem/mount_table.cpp
parent2833fa2a2d2bf1f98f627503e52531615d1c1496 (diff)
downloadkernel-13f41e3816bd0be96c9bf728b534a58e6d4e5c28.tar.xz
kernel-13f41e3816bd0be96c9bf728b534a58e6d4e5c28.zip
add todo
Diffstat (limited to 'kernel/src/filesystem/mount_table.cpp')
-rw-r--r--kernel/src/filesystem/mount_table.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/src/filesystem/mount_table.cpp b/kernel/src/filesystem/mount_table.cpp
index 5a49e7a..e0cf140 100644
--- a/kernel/src/filesystem/mount_table.cpp
+++ b/kernel/src/filesystem/mount_table.cpp
@@ -35,6 +35,7 @@ namespace kernel::filesystem
auto mount_table::remove_mount(std::string_view path) -> operation_result
{
// TODO BA-FS26 check wheter something is open in this mount
+ // TODO BA-FS26 nearly the same code is in find_exact_mount -> refactor to avoid code duplication
auto mount_range =
std::ranges::find_last_if(m_mounts, [&](auto const & mount) { return mount->get_mount_path() == path; });
auto mount_it = mount_range.begin();