]> git.baikalelectronics.ru Git - kernel.git/commit
target: Add missing XCOPY I/O operation sense_buffer
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 24 Oct 2013 07:10:36 +0000 (00:10 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 24 Oct 2013 07:28:08 +0000 (00:28 -0700)
commitefa11194da8e36da132110e1b5de12f929642ee8
tree8a6140f7dd9b5352810d77904182ef546e5e36ea
parent2210b536063a9d16509b2069def9769dd9c71f47
target: Add missing XCOPY I/O operation sense_buffer

This patch adds the missing xcopy_pt_cmd->sense_buffer[] required for
correctly handling CHECK_CONDITION exceptions within the locally
generated XCOPY I/O path.

Also update target_xcopy_read_source() + target_xcopy_setup_pt_cmd()
to pass this buffer into transport_init_se_cmd() to correctly setup
se_cmd->sense_buffer.

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>
drivers/target/target_core_xcopy.c