Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: check curseg->inited before write_sum_page in change_curseg
[ Upstream commit 4356306 ] 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: 093749e ("f2fs: support age threshold based garbage collection") Signed-off-by: Yongpeng Yang <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information