f2fs: check hot_data for roll-forward recovery
commitcc9618c9fffe6bd362f048928e15effe04e5b6cd
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 13 Aug 2017 04:33:23 +0000 (12 21:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Sep 2017 06:19:56 +0000 (20 08:19 +0200)
tree302e49da53cd25551762ab681952e2ba6d539f31
parent0f90297cba9ba37eb37723423c2df022ce77704a
f2fs: check hot_data for roll-forward recovery

commit 125c9fb1ccb53eb2ea9380df40f3c743f3fb2fed upstream.

We need to check HOT_DATA to truncate any previous data block when doing
roll-forward recovery.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/recovery.c