mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +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:
parent
6a27de2d94
commit
4238e2e9be
Notes:
sideshowbarker
2024-07-18 09:22:02 +09:00
Author: https://github.com/awesomekling
Commit: 4238e2e9be
2 changed files with 3 additions and 23 deletions
|
@ -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" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue