Ext2FS: Remove unused allocate_block()

We only use allocate_blocks() now. If you want a single block, you can
just call allocate_blocks() with a count of 1.
This commit is contained in:
Andreas Kling 2020-03-06 11:15:03 +01:00
commit 75a6b27f73
Notes: sideshowbarker 2024-07-19 08:52:15 +09:00
2 changed files with 0 additions and 35 deletions

View file

@ -136,7 +136,6 @@ private:
BlockIndex first_block_index() const;
InodeIndex find_a_free_inode(GroupIndex preferred_group, off_t expected_size);
Vector<BlockIndex> allocate_blocks(GroupIndex preferred_group_index, size_t count);
BlockIndex allocate_block(GroupIndex preferred_group_index);
GroupIndex group_index_from_inode(InodeIndex) const;
GroupIndex group_index_from_block_index(BlockIndex) const;