summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Ext2FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/Ext2FileSystem.h')
-rw-r--r--Kernel/FileSystem/Ext2FileSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h
index c71eefca76..d3318ab2e4 100644
--- a/Kernel/FileSystem/Ext2FileSystem.h
+++ b/Kernel/FileSystem/Ext2FileSystem.h
@@ -128,7 +128,7 @@ private:
bool flush_super_block();
virtual StringView class_name() const override { return "Ext2FS"sv; }
- virtual NonnullRefPtr<Inode> root_inode() const override;
+ virtual Ext2FSInode& root_inode() override;
RefPtr<Inode> get_inode(InodeIdentifier) const;
KResultOr<NonnullRefPtr<Inode>> create_inode(Ext2FSInode& parent_inode, const String& name, mode_t, dev_t, uid_t, gid_t);
KResult create_directory(Ext2FSInode& parent_inode, const String& name, mode_t, uid_t, gid_t);