[PATCH 0/4] ext4: fix divide error in mb_update_avg_fragment_size()

Baokun Li posted 4 patches 2 years ago
There is a newer version of this series
fs/ext4/mballoc.c     | 19 ++++++++++++-------
fs/ext4/move_extent.c |  3 +--
2 files changed, 13 insertions(+), 9 deletions(-)
[PATCH 0/4] ext4: fix divide error in mb_update_avg_fragment_size()
Posted by Baokun Li 2 years ago
Baokun Li (4):
  ext4: fix double-free of blocks due to wrong extents moved_len
  ext4: do not trim the group with corrupted block bitmap
  ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
  ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block
    bitmap corrupt

 fs/ext4/mballoc.c     | 19 ++++++++++++-------
 fs/ext4/move_extent.c |  3 +--
 2 files changed, 13 insertions(+), 9 deletions(-)

-- 
2.31.1