f2fs: skip committing valid superblock
authorChao Yu <chao2.yu@samsung.com>
Mon, 8 Jun 2015 05:28:03 +0000 (13:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 8 Jun 2015 18:20:51 +0000 (11:20 -0700)
In recovery procedure for superblock, we try to write data of valid
superblock into invalid one for recovery, work should be finished here,
but then still we will write the valid one with its original data.
This operation is not needed. Let's skip doing this unnecessary work.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

No differences found