diff options
author | Yongpeng Yang <yangyongpeng1@oppo.com> | 2024-10-21 12:48:01 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-11-01 01:19:01 +0000 |
commit | 43563069e1c1df417d2eed6eca8a22fc6b04691d (patch) | |
tree | 55dd5cd4dea27d8bc36b8181071ffc469212b20a /rust/helpers/task.c | |
parent | c3af1f13476ec23fd99c98d060a89be28c1e8871 (diff) |
f2fs: check curseg->inited before write_sum_page in change_curseg
In the __f2fs_init_atgc_curseg->get_atssr_segment calling,
curseg->segno is NULL_SEGNO, indicating that there is no summary
block that needs to be written.
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Signed-off-by: Yongpeng Yang <yangyongpeng1@oppo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions