From 331b72be465303282ad776e7ba16a58a72ed7801 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 11 Dec 2014 12:31:03 +0000 Subject: [PATCH] scst_vdisk: Follow-up for r5932 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5934 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 0b371b297..4b946d9d4 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -5329,7 +5329,8 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua) static int err_inj_cntr; if (++err_inj_cntr % 256 == 0) { PRINT_INFO("blockio_exec_rw() error injection"); - goto out_no_bio; + scst_set_busy(cmd); + goto free_bio; } } #endif