1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +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

@ -70,7 +70,7 @@ private:
virtual ErrorOr<void> initialize_while_locked() override;
virtual bool is_initialized_while_locked() override;
virtual ErrorOr<void> prepare_to_clear_last_mount() override;
virtual ErrorOr<void> prepare_to_clear_last_mount(Inode& mount_guest_inode) override;
ErrorOr<NonnullRefPtr<Inode>> get_inode(InodeIdentifier) const;
ErrorOr<NonnullRefPtr<Inode>> create_inode(Ext2FSInode& parent_inode, StringView name, mode_t, dev_t, UserID, GroupID);
ErrorOr<NonnullRefPtr<Inode>> create_directory(Ext2FSInode& parent_inode, StringView name, mode_t, UserID, GroupID);