]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix overhead calculation to account for the reserved gdt blocks
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 01:31:27 +0000 (21:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 01:31:27 +0000 (21:31 -0400)
commit5bf43d031edc902be75df4f63c3b504a398a991d
treef18a3498212f54e20ffbbc62b5577c90ce53fb88
parent1aa8e0ed5816b636e90148c59e5dbbd8bd9d3934
ext4: fix overhead calculation to account for the reserved gdt blocks

The kernel calculation was underestimating the overhead by not taking
into account the reserved gdt blocks.  With this change, the overhead
calculated by the kernel matches the overhead calculation in mke2fs.

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