Home
last modified time | relevance | path

Searched hist:"69 cb8e9d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dresize.c69cb8e9d Tue Jul 19 23:27:48 CDT 2022 Kiselev, Oleg <okiselev@amazon.com> 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 <okiselev@amazon.com>
Link: https://lore.kernel.org/r/0E92A0AB-4F16-4F1A-94B7-702CC6504FDE@amazon.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>