diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index ab764bd106de1dab49a3bac9c76fb80c8d3b84e5..a66a8752e5f6527d809ff3c7bab06bb9ea0cb74d 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -1175,6 +1175,7 @@ static int do_garbage_collect(struct f2fs_sb_info *sbi, "type [%d, %d] in SSA and SIT", segno, type, GET_SUM_TYPE((&sum->footer))); set_sbi_flag(sbi, SBI_NEED_FSCK); + f2fs_stop_checkpoint(sbi, false); goto skip; }