mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
Kernel: Use Vector::unstable_remove() in a couple of places
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 10:02:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e23536d682f
@@ -73,7 +73,7 @@ KResult VFS::unmount(InodeIdentifier guest_inode_id)
|
||||
return result;
|
||||
}
|
||||
dbg() << "VFS: found fs " << mount.guest_fs().fsid() << " at mount index " << i << "! Unmounting...";
|
||||
m_mounts.remove(i);
|
||||
m_mounts.unstable_remove(i);
|
||||
return KSuccess;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user