kernel: Remove a mount from the mountpoint list after unmounting it

This commit is contained in:
apio 2023-05-18 16:18:09 +02:00
parent 8f6bd29da3
commit 3a73d49aa1
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -183,6 +183,7 @@ namespace VFS
auto mount = (MountInode*)inode.ptr();
TRY(parent_inode->replace_entry(mount->source(), child.chars()));
g_mounts.remove(mount);
return {};
}