Kernel/FileSystem: Pass last mount point guest inode to unmount prepare

This will be important later on when we check file system busyness.
This commit is contained in:
kleines Filmröllchen
2023-07-02 14:23:53 +02:00
committed by Jelle Raaijmakers
parent 2fe5ece449
commit 8fb126bec6
11 changed files with 14 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ protected:
// Note: We require all FileBackedFileSystem to implement something that actually
// takes into account the fact that we will clean the last mount of the filesystem,
// therefore, removing the file system with it from the Kernel memory.
virtual ErrorOr<void> prepare_to_clear_last_mount() override = 0;
virtual ErrorOr<void> prepare_to_clear_last_mount(Inode& mount_guest_inode) override = 0;
virtual ErrorOr<void> initialize_while_locked() = 0;
virtual bool is_initialized_while_locked() = 0;