f2fs: fix to update age extent in f2fs_do_zero_range()
authorChao Yu <chao@kernel.org>
Tue, 31 Jan 2023 14:47:01 +0000 (22:47 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 2 Feb 2023 21:37:17 +0000 (13:37 -0800)
commita84153f939808102dfa10904aa0f743e734a3e1d
treee9dcf5fa78a89e9ab4fa94ded589180bad4ae6d9
parent8c0ed062ce27f6b7f0a568cb241e2b4dd2d9e6a6
f2fs: fix to update age extent in f2fs_do_zero_range()

We should update age extent in f2fs_do_zero_range() like we
did in f2fs_truncate_data_blocks_range().

Fixes: 71644dff4811 ("f2fs: add block_age-based extent cache")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c