diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-24 07:15:27 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-24 07:28:27 (GMT) |
commit | 8a955d6dcc1840fa9cba73eb6db831c8fea19d95 (patch) | |
tree | 56cae0faf999929919c2cec01f7e9c733394ec0a /fs/hostfs | |
parent | 366bda191c344ec4d7a5b908cf047bc09639ad3d (diff) | |
download | linux-fsl-qoriq-8a955d6dcc1840fa9cba73eb6db831c8fea19d95.tar.xz |
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 <thomas@glanzmann.de>
Reported-by: Douglas Gilbert <dgilbert@interlog.com>
Cc: Thomas Glanzmann <thomas@glanzmann.de>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions