ext4: do not trim the group with corrupted block bitmap
authorBaokun Li <libaokun1@huawei.com>
Thu, 4 Jan 2024 14:20:34 +0000 (22:20 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 18 Jan 2024 15:50:24 +0000 (10:50 -0500)
commit172202152a125955367393956acf5f4ffd092e0d
treefc709784b679b406515c7eb949d0e88a005f0542
parent55583e899a5357308274601364741a83e78d6ac4
ext4: do not trim the group with corrupted block bitmap

Otherwise operating on an incorrupted block bitmap can lead to all sorts
of unknown problems.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240104142040.2835097-3-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c