Re: [PATCH] f2fs: check curseg->inited before write_sum_page in change_curseg

From: Chao Yu
Date: Mon Oct 21 2024 - 05:05:21 EST


On 2024/10/21 12:48, Yongpeng Yang wrote:
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@xxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,