From: Nicholas Bellinger Date: Thu, 24 Oct 2013 07:15:27 +0000 (-0700) Subject: target: Generate failure for XCOPY I/O with non-zero scsi_status X-Git-Tag: v3.12-rc7~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a955d6dcc1840fa9cba73eb6db831c8fea19d95;p=pandora-kernel.git target: Generate failure for XCOPY I/O with non-zero scsi_status This patch adds the missing non-zero se_cmd->scsi_status check required for local XCOPY I/O within target_xcopy_issue_pt_cmd() to signal an exception case failure. This will trigger the generation of SAM_STAT_CHECK_CONDITION status from within target_xcopy_do_work() process context code. Reported-by: Thomas Glanzmann Reported-by: Douglas Gilbert Cc: Thomas Glanzmann Cc: Douglas Gilbert Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed