diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index d9511827dc835ea6ebd3b3d5ca6fb3736742044f..9dce446190699eae08471debd44919f0373e5dc6 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -1748,7 +1748,7 @@ int f2fs_gc(struct f2fs_sb_info *sbi, bool sync, round++; } - if (gc_type == FG_GC && seg_freed) + if (gc_type == FG_GC) sbi->cur_victim_sec = NULL_SEGNO; if (sync)