]> git.itanic.dy.fi Git - linux-stable/commit
ext4: force overhead calculation if the s_overhead_cluster makes no sense
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 01:57:49 +0000 (21:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 02:05:47 +0000 (22:05 -0400)
commit85d825dbf4899a69407338bae462a59aa9a37326
tree2b4ee6db488034058c47eb3a1653a8b8b642181f
parent10b01ee92df52c8d7200afead4d5e5f55a5c58b1
ext4: force overhead calculation if the s_overhead_cluster makes no sense

If the file system does not use bigalloc, calculating the overhead is
cheap, so force the recalculation of the overhead so we don't have to
trust the precalculated overhead in the superblock.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/super.c