f2fs: support discard submission error injection

This patch adds to support discard submission error injection for testing
error handling of __submit_discard_cmd().

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Chao Yu 2018-08-06 20:30:18 +08:00 • committed by Jaegeuk Kim
commit b83dcfe671
3 changed files with 10 additions and 0 deletions