mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
Ext2FS: Deallocate block list meta blocks when freeing an inode
When computing the list of blocks to deallocate when freeing an inode, we would stop collecting blocks after reaching the inode's block count. Since we're getting rid of the inode, we need to also include the meta blocks used by the on-disk block list itself.
This commit is contained in:
parent
508063ef85
commit
bab24ce34c
2 changed files with 8 additions and 2 deletions
|
@ -165,7 +165,7 @@ private:
|
|||
unsigned meta_blocks { 0 };
|
||||
};
|
||||
|
||||
BlockListShape compute_block_list_shape(unsigned blocks);
|
||||
BlockListShape compute_block_list_shape(unsigned blocks) const;
|
||||
|
||||
unsigned m_block_group_count { 0 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue