f2fs: remove redundant operation during roll-forward recovery
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 11 Sep 2014 21:29:06 +0000 (14:29 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Sep 2014 18:10:17 +0000 (11:10 -0700)
commitc52e1b10b175bef84f1681946b4a438cc4c84147
tree8c316e124453a3b2b03eefa3d0cf36094f386bc8
parent19c9c466e5c79402cbf8929f922011b02fbb59bd
f2fs: remove redundant operation during roll-forward recovery

If same data is updated multiple times, we don't need to redo whole the
operations.
Let's just update the lastest one.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/recovery.c