]> 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)
commit6ef07ffd04c61378e5c4c0923350be13f4a4a70c
tree2b4ee6db488034058c47eb3a1653a8b8b642181f
parent8ba5be84fd1c19599a266f3aa5b38b4533a0af00
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