diff options
| author | Yunlong Song <yunlong.song@huawei.com> | 2017-02-21 20:43:48 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-08 21:57:06 -0800 |
| commit | c074e1b7c11cb877b8484f8f47ff618ff83b5169 (patch) | |
| tree | cb3eea500e7fbf56554825be521d8abd448e631f /include | |
| parent | cb9ca08d121ab076d027d3f37806fd315d9771fa (diff) | |
f2fs: remove unnecessary condition check for write_checkpoint in f2fs_gc
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.
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
