f2fs: return error during fill_super
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 20 Dec 2017 03:16:34 +0000 (19:16 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:29:41 +0000 (13:29 -0800)
commit5943e3992eede25f1222bdcd138dc0032d01839c
tree5804172c0af1274c23a2b521c2c341d443b3ed6d
parent93579c97259b75ddb2ef6706d19896f53039a031
f2fs: return error during fill_super

Let's avoid BUG_ON during fill_super, when on-disk was totall corrupted.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
fs/f2fs/segment.h