diff options
Diffstat (limited to 'drivers/target/target_core_xcopy.c')
-rw-r--r-- | drivers/target/target_core_xcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_xcopy.c b/drivers/target/target_core_xcopy.c index d828b3b5000b..cac5a20a4de0 100644 --- a/drivers/target/target_core_xcopy.c +++ b/drivers/target/target_core_xcopy.c | |||
@@ -864,7 +864,7 @@ out: | |||
864 | " CHECK_CONDITION -> sending response\n", rc); | 864 | " CHECK_CONDITION -> sending response\n", rc); |
865 | ec_cmd->scsi_status = SAM_STAT_CHECK_CONDITION; | 865 | ec_cmd->scsi_status = SAM_STAT_CHECK_CONDITION; |
866 | } | 866 | } |
867 | target_complete_cmd(ec_cmd, SAM_STAT_CHECK_CONDITION); | 867 | target_complete_cmd(ec_cmd, ec_cmd->scsi_status); |
868 | } | 868 | } |
869 | 869 | ||
870 | sense_reason_t target_do_xcopy(struct se_cmd *se_cmd) | 870 | sense_reason_t target_do_xcopy(struct se_cmd *se_cmd) |