]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: make fault injection covering __submit_flush_wait()
authorChao Yu <yuchao0@huawei.com>
Tue, 19 Feb 2019 09:08:18 +0000 (17:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Mar 2019 01:59:18 +0000 (18:59 -0700)
commitd47e0df55b7d15626b29ffcafb648a14f7b76b64
tree559515930cf705162c171d3afded6dc1f329422d
parent625e121f4d377d9baaa20ceb74c751388538fa01
f2fs: make fault injection covering __submit_flush_wait()

This patch changes to allow failure of f2fs_bio_alloc() in
__submit_flush_wait(), which can simulate flush error in checkpoint()
for covering more error paths.

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