1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 18:25:06 +00:00

Ext2FS: Rename allocate_inode() => find_a_free_inode()

Since this function doesn't actually mark the inode as allocated,
let's tone down the name a little bit.
This commit is contained in:
Andreas Kling 2019-11-17 19:17:10 +01:00
parent a712d4ac0c
commit 8ccbd7002b
2 changed files with 6 additions and 10 deletions

View file

@ -103,7 +103,7 @@ private:
virtual void flush_writes() override;
BlockIndex first_block_index() const;
InodeIndex allocate_inode(GroupIndex preferred_group, off_t expected_size);
InodeIndex find_a_free_inode(GroupIndex preferred_group, off_t expected_size);
Vector<BlockIndex> allocate_blocks(GroupIndex preferred_group_index, int count);
BlockIndex allocate_block(GroupIndex preferred_group_index);
GroupIndex group_index_from_inode(InodeIndex) const;