f2fs: set SBI_NEED_FSCK when encountering exception in recovery
authorChao Yu <chao2.yu@samsung.com>
Mon, 16 Mar 2015 13:08:44 +0000 (21:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:43 +0000 (15:08 -0700)
commit2adc3505cfb819c91855a64d997a7cdd9731ee6e
tree720b8d875181083f560e6a82d72d72dd2e16f18e
parent21cb1d99bcc77252e6426010bcc6433f75b581bb
f2fs: set SBI_NEED_FSCK when encountering exception in recovery

This patch tries to set SBI_NEED_FSCK flag into sbi only when we fail to recover
in fill_super, so we could skip fscking image when we fail to fill super for
other reason.

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