1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

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
parent 6a27de2d94
commit 4238e2e9be
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" };