f2fs: fix inconsistent comments

Lack of maintenance on comments may mislead developers, fix them.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Šī revīzija ir iekļauta:
Chao Yu
2020-02-27 19:30:05 +08:00
revīziju iesūtīja Jaegeuk Kim
vecāks 3addc1aed3
revīzija 7a88ddb560
10 mainīti faili ar 21 papildinājumiem un 40 dzēšanām

Parādīt failu

@@ -192,7 +192,10 @@ static void select_policy(struct f2fs_sb_info *sbi, int gc_type,
p->ofs_unit = sbi->segs_per_sec;
}
/* we need to check every dirty segments in the FG_GC case */
/*
* adjust candidates range, should select all dirty segments for
* foreground GC and urgent GC cases.
*/
if (gc_type != FG_GC &&
(sbi->gc_mode != GC_URGENT) &&
p->max_search > sbi->max_victim_search)