f2fs: check hot_data for roll-forward recovery
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 13 Aug 2017 04:33:23 +0000 (21:33 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 21 Aug 2017 22:55:06 +0000 (15:55 -0700)
commit125c9fb1ccb53eb2ea9380df40f3c743f3fb2fed
treec9138ce8c07d590f16b894dd77023982e4852c6d
parentc56f16dab0dfc8a37bc6133f2c2a02ffb873648b
f2fs: check hot_data for roll-forward recovery

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

Cc: <stable@vger.kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c