f2fs: when check superblock failed, try to check another superblock
authormajianpeng <majianpeng@gmail.com>
Fri, 1 Feb 2013 11:07:03 +0000 (19:07 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 11 Feb 2013 22:15:01 +0000 (07:15 +0900)
commit14d7e9de0500e9110e5820e2e77d096fc1bab724
tree56fa9e18cb263f1d33592c69a7f152e12371dd91
parent5c9b469295fb6b10d98923eab5e79c4edb80ed20
f2fs: when check superblock failed, try to check another superblock

In f2fs, there are two superblocks. So when the first superblock was
invalidate, it should try to check another.

By Jaegeuk Kim:
 o Remove a white space for coding style
 o Clean up for code readability
 o Fix a typo

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c