Jaegeuk Kim 4d8ec91208 f2fs: should not truncate blocks during roll-forward recovery
If the file preallocated blocks and fsync'ed, we should not truncate them during
roll-forward recovery which will recover i_size correctly back.

Fixes: d4dd19ec1ea0 ("f2fs: do not expose unwritten blocks to user by DIO")
Cc: <stable@vger.kernel.org> # 5.17+
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2022-04-21 18:57:09 -07:00
..
2022-02-12 06:20:46 -08:00
2022-03-22 18:26:56 -07:00
2022-03-17 09:16:22 -07:00
2022-03-22 10:00:31 -07:00
2022-04-20 11:16:43 -07:00
2022-03-17 09:16:22 -07:00
2021-03-30 18:48:56 -07:00
2021-12-10 15:48:30 -08:00
2021-08-23 10:25:51 -07:00
2022-03-22 10:00:31 -07:00
2022-03-22 10:00:31 -07:00
2022-04-20 11:16:43 -07:00
2022-04-20 11:16:43 -07:00
2022-03-22 10:00:31 -07:00