Re: [PATCH] f2fs: clean up codes in f2fs_gc related with write_checkpoint

From: Jaegeuk Kim
Date: Wed Feb 22 2017 - 23:52:16 EST


On 02/23, Yunlong Song wrote:
> Ping...
>
> Since has_not_enough_free_secs(sbi, 0, 0) must be true if has_not_enough_free_secs(sbi, sec_freed, 0) is true,
> write_checkpoint is sure to execute in both conditions, and segno is NULL_SEGNO in both conditions.

Looks good to me, but applied like below.