f2fs: avoid f2fs_bug_on if f2fs_get_meta_page_nofail got EIO
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 18 Sep 2018 00:36:06 +0000 (17:36 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:23:32 +0000 (11:23 -0700)
commit9603f1525564a349514255a65cc7439a37088428
tree5f19cf200b25044e9736f9c315244189c15e2574
parent96cc73248e6e9e176553ce816b3ee2f75940db16
f2fs: avoid f2fs_bug_on if f2fs_get_meta_page_nofail got EIO

This patch avoids BUG_ON when f2fs_get_meta_page_nofail got EIO during
xfstests/generic/475.

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