summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorYongpeng Yang <yangyongpeng1@oppo.com>2024-10-21 12:48:01 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2024-11-01 01:19:01 +0000
commit43563069e1c1df417d2eed6eca8a22fc6b04691d (patch)
tree55dd5cd4dea27d8bc36b8181071ffc469212b20a /rust/helpers/task.c
parentc3af1f13476ec23fd99c98d060a89be28c1e8871 (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