f2fs: remove unneeded write checkpoint in recover_fsync_data
authorChao Yu <chao2.yu@samsung.com>
Tue, 24 Sep 2013 01:26:24 +0000 (09:26 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 25 Sep 2013 08:18:16 +0000 (17:18 +0900)
commit691c6fd2a2d6b6db08b17beec5e42ab0687058c7
treed798ffcba0eefb306b44e6e275db4ff983d18915
parentcc7b1bb173676621b092b61d22d8d12b05efb5e8
f2fs: remove unneeded write checkpoint in recover_fsync_data

Previously, recover_fsync_data still to write checkpoint when there is
nothing to recover with normal umount image.
It may reduce mount performance and flash memory lifetime, so let's remove
it.

Signed-off-by: Tan Shu <shu.tan@samsung.com>
Signed-off-by: Yu Chao <chao2.yu@samsung.com>
Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/recovery.c