diff options
Diffstat (limited to 'Kernel/FileSystem/Ext2FileSystem.h')
-rw-r--r-- | Kernel/FileSystem/Ext2FileSystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h index aec3e30350..28e4b76760 100644 --- a/Kernel/FileSystem/Ext2FileSystem.h +++ b/Kernel/FileSystem/Ext2FileSystem.h @@ -138,12 +138,12 @@ private: virtual const char* class_name() const override; virtual NonnullRefPtr<Inode> root_inode() const override; RefPtr<Inode> get_inode(InodeIdentifier) const; - KResultOr<NonnullRefPtr<Inode>> create_inode(InodeIdentifier parent_id, const String& name, mode_t, off_t size, dev_t, uid_t, gid_t); + KResultOr<NonnullRefPtr<Inode>> create_inode(InodeIdentifier parent_id, const String& name, mode_t, dev_t, uid_t, gid_t); KResult create_directory(InodeIdentifier parent_inode, const String& name, mode_t, uid_t, gid_t); virtual void flush_writes() override; BlockIndex first_block_index() const; - InodeIndex find_a_free_inode(GroupIndex preferred_group, off_t expected_size); + InodeIndex find_a_free_inode(GroupIndex preferred_group = 0); Vector<BlockIndex> allocate_blocks(GroupIndex preferred_group_index, size_t count); GroupIndex group_index_from_inode(InodeIndex) const; GroupIndex group_index_from_block_index(BlockIndex) const; |