On Mon, 19 Feb 2024 18:10:33 +0100, Jan Kara wrote: > Currently we ignore s_clusters_per_group field in the on-disk superblock > if bigalloc feature is not enabled. However e2fsprogs don't even open > the filesystem if s_clusters_per_group is invalid. This results in an > odd state where kernel happily works with the filesystem while even > e2fsck refuses to touch it. Verify that s_clusters_per_group is valid > even if bigalloc feature is not enabled to make things consistent. Due > to current e2fsprogs behavior it is unlikely there are filesystems out > in the wild (except for intentionally fuzzed ones) with invalid > s_clusters_per_group counts. > > [...] Applied, thanks! [1/1] ext4: Verify s_clusters_per_group even without bigalloc commit: 1f85b452e07c370448fb4eb4472cd55fc6bf115c Best regards, -- Theodore Ts'o <tytso@xxxxxxx>