aboutsummaryrefslogtreecommitdiff
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2017-02-21 20:43:48 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:59 +0200
commitbec1bffff662423bfb6514434c0dbfbf56a61962 (patch)
tree87215ef850af7ab6c6d1e55e2d291fdf1f634692 /include/linux/memory.h
parent8c03f795d105728a78d890f545acca361cbf0d57 (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/linux/memory.h')
0 files changed, 0 insertions, 0 deletions