Kernel: Only allow looking up Mounts by InodeIdentifier

Let's simplify the interface by not allowing lookup by Inode&.
This commit is contained in:
Andreas Kling 2021-07-11 00:50:08 +02:00
commit 4238e2e9be
Notes: sideshowbarker 2024-07-18 09:22:02 +09:00
2 changed files with 3 additions and 23 deletions

View file

@ -86,9 +86,7 @@ private:
KResult traverse_directory_inode(Inode&, Function<bool(FileSystem::DirectoryEntryView const&)>);
Mount* find_mount_for_host(Inode&);
Mount* find_mount_for_host(InodeIdentifier);
Mount* find_mount_for_guest(Inode&);
Mount* find_mount_for_guest(InodeIdentifier);
Lock m_lock { "VFSLock" };