]> git.baikalelectronics.ru Git - kernel.git/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)
commit0371b61965287bd60502a14b297f5e504660f485
tree2b4ee6db488034058c47eb3a1653a8b8b642181f
parent5bf43d031edc902be75df4f63c3b504a398a991d
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