Kiselev, Oleg
952b3dc02b
ext4: avoid resizing to a partial cluster size
...
[ Upstream commit 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:11:36 +02:00
..
2022-06-25 11:46:24 +02:00
2019-08-06 19:05:21 +02:00
2021-03-03 18:22:54 +01:00
2020-04-02 16:34:33 +02:00
2019-12-17 20:37:24 +01:00
2018-12-01 09:42:51 +01:00
2022-08-25 11:11:35 +02:00
2020-11-05 11:07:05 +01:00
2021-09-26 13:37:29 +02:00
2022-06-14 16:54:01 +02:00
2019-08-06 19:05:23 +02:00
2022-03-02 11:33:56 +01:00
2021-07-20 16:17:45 +02:00
2019-05-08 07:20:49 +02:00
2019-03-23 14:35:21 +01:00
2022-06-14 16:53:53 +02:00
2021-05-26 11:47:00 +02:00
2020-12-02 08:34:44 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2022-08-25 11:11:14 +02:00
2022-08-25 11:11:36 +02:00
2021-12-29 12:17:36 +01:00
2022-06-14 16:53:46 +02:00
2018-12-17 09:28:53 +01:00
2022-08-25 11:11:12 +02:00
2022-04-27 13:15:29 +02:00
2021-08-04 12:22:15 +02:00
2020-04-24 08:00:45 +02:00
2021-06-03 08:36:25 +02:00
2021-11-12 14:28:24 +01:00
2022-08-25 11:11:23 +02:00
2022-06-14 16:53:57 +02:00
2022-06-14 16:53:46 +02:00
2022-06-14 16:54:00 +02:00
2020-12-29 13:46:57 +01:00
2020-08-21 09:48:15 +02:00
2022-08-25 11:11:32 +02:00
2020-12-29 13:47:01 +01:00
2022-06-06 08:20:58 +02:00
2022-07-21 20:42:43 +02:00
2022-06-14 16:53:48 +02:00
2022-08-25 11:11:09 +02:00
2022-06-14 16:53:53 +02:00
2022-01-27 09:00:46 +01:00
2021-10-17 10:08:32 +02:00
2021-12-08 08:46:52 +01:00
2020-01-09 10:17:55 +01:00
2021-10-06 15:05:08 +02:00
2022-02-23 11:57:33 +01:00
2020-10-29 09:07:11 +01:00
2021-08-15 13:03:33 +02:00
2020-08-26 10:29:54 +02:00
2021-05-22 10:57:39 +02:00
2022-03-23 09:01:35 +01:00
2018-12-17 09:28:48 +01:00
2022-03-02 11:33:58 +01:00
2022-04-20 09:08:25 +02:00
2022-02-08 18:16:24 +01:00
2020-08-21 09:48:22 +02:00
2022-07-12 16:27:28 +02:00
2018-12-21 14:13:04 +01:00
2022-08-25 11:11:11 +02:00
2020-06-03 08:18:03 +02:00
2022-06-14 16:53:43 +02:00
2021-03-17 16:34:35 +01:00
2019-11-06 12:42:59 +01:00
2021-05-22 10:57:43 +02:00
2020-11-05 11:06:58 +01:00
2020-01-14 20:05:39 +01:00
2020-01-09 10:17:58 +01:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2019-02-06 17:31:34 +01:00
2021-04-16 11:57:48 +02:00
2020-01-12 12:11:59 +01:00
2020-10-14 09:51:09 +02:00
2022-06-06 08:20:57 +02:00
2021-12-08 08:46:55 +01:00
2022-03-02 11:34:00 +01:00
2020-04-24 08:00:43 +02:00
2022-06-14 16:53:52 +02:00
2020-04-02 16:34:21 +02:00
2019-12-17 20:38:57 +01:00
2020-11-24 13:05:50 +01:00
2020-01-09 10:17:55 +01:00
2022-08-25 11:11:11 +02:00
2022-05-15 19:40:27 +02:00
2020-03-20 10:54:16 +01:00
2021-08-15 13:03:31 +02:00
2020-05-02 17:24:47 +02:00
2019-12-01 09:13:51 +01:00
2021-04-28 12:08:41 +02:00
2021-03-24 11:05:05 +01:00
2021-07-20 16:17:55 +02:00
2021-12-14 10:16:55 +01:00
2022-08-25 11:11:18 +02:00
2022-04-27 13:15:30 +02:00
2019-10-11 18:18:48 +02:00
2022-02-23 11:57:33 +01:00
2020-01-04 13:59:58 +01:00
2020-08-21 09:48:00 +02:00