From 9e9b1f8ac4e3af10981f3608d04d3696ffe1faa5 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 28 Sep 2012 21:09:49 +0000 Subject: [PATCH] Oops, the previous commit was incomplete git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4533 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_targ.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index af1940804..61564214d 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -1560,6 +1560,8 @@ static int scst_tgt_pre_exec(struct scst_cmd *cmd) */ scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_invalid_field_in_command_information_unit)); + scst_set_cmd_abnormal_done_state(cmd); + goto out; } } }