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:
parent
a712d4ac0c
commit
8ccbd7002b
2 changed files with 6 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue