diff options
author | 2024-10-21 12:48:01 +0800 | |
---|---|---|
committer | 2024-11-01 01:19:01 +0000 | |
commit | 43563069e1c1df417d2eed6eca8a22fc6b04691d (patch) | |
tree | 55dd5cd4dea27d8bc36b8181071ffc469212b20a /scripts/lib/kdoc/kdoc_files.py | |
parent | f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block (diff) | |
download | wireguard-linux-43563069e1c1df417d2eed6eca8a22fc6b04691d.tar.xz wireguard-linux-43563069e1c1df417d2eed6eca8a22fc6b04691d.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions