mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:05:07 +00:00
Kernel/VFS: Check that mount-point is not in use
Before committing the mount, verify that this host i-node is not already a mount-point.
This commit is contained in:
parent
7e245b74f1
commit
9e1bea50ee
2 changed files with 23 additions and 3 deletions
|
@ -90,6 +90,8 @@ private:
|
|||
|
||||
ErrorOr<void> traverse_directory_inode(Inode&, Function<ErrorOr<void>(FileSystem::DirectoryEntryView const&)>);
|
||||
|
||||
bool mount_point_exists_at_inode(InodeIdentifier inode);
|
||||
|
||||
Mount* find_mount_for_host(InodeIdentifier);
|
||||
Mount* find_mount_for_guest(InodeIdentifier);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue