aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorKiselev, Oleg <[email protected]>2022-07-20 04:27:48 +0000
committerTheodore Ts'o <[email protected]>2022-08-03 03:56:26 +0000
commit69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd (patch)
tree4c04cf154e06fd8c06738c0bc78ce665902161d7 /fs/jbd2/commit.c
parentext4: reduce computation of overhead during resize (diff)
downloadkernel-69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd.tar.gz
kernel-69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd.zip
ext4: avoid resizing to a partial cluster size
This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow the fs by a negative amount, which trips a BUG_ON and leaves the fs with a corrupted in-memory superblock. Signed-off-by: Oleg Kiselev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions