1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

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

@ -33,7 +33,7 @@ private:
virtual bool is_initialized_while_locked() override;
// FIXME: This is not a proper way to clear last mount of a FAT filesystem,
// but for now we simply have no other way to properly do it.
virtual ErrorOr<void> prepare_to_clear_last_mount() override { return {}; }
virtual ErrorOr<void> prepare_to_clear_last_mount(Inode&) override { return {}; }
FATFS(OpenFileDescription&);