1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 08:35:09 +00:00

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
parent 259ead5d7a
commit 75a6b27f73
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;