f2fs: fix to spread clear_cold_data()
authorChao Yu <yuchao0@huawei.com>
Fri, 27 Jul 2018 10:15:16 +0000 (18:15 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Oct 2018 00:54:46 +0000 (17:54 -0700)
commit2baf07818549c8bb8d7b3437e889b86eab56d38e
treebe4aeece55742d8544b77783e2b9ea7ec77ddb31
parent164a63fa6b384e30ceb96ed80bc7dc3379bc0960
f2fs: fix to spread clear_cold_data()

We need to drop PG_checked flag on page as well when we clear PG_uptodate
flag, in order to avoid treating the page as GCing one later.

Signed-off-by: Weichao Guo <guoweichao@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/segment.c