Revert "f2fs: add a new function get_ssr_cost"
authorYunlong Song <yunlong.song@huawei.com>
Mon, 4 Sep 2017 03:10:18 +0000 (11:10 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 5 Sep 2017 17:52:28 +0000 (10:52 -0700)
commit2afce76a1151fe2f1104962c327d8f85047045e6
treecff8789a4101b56806bb0cccc4a22a72429a4a5d
parentf62fc9f97602d5f52fd574db80d95d71869bfe21
Revert "f2fs: add a new function get_ssr_cost"

This reverts commit b7b7c4cf1c9ef0272a65f1480457cbfdadcda19d.

se->ckpt_valid_blocks will never be smaller than se->valid_blocks, so just
remove get_ssr_cost.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c