alistair23-linux/drivers/target
Nicholas Bellinger 934a138e97 target: Make target_do_xcopy failures return INVALID_PARAMETER_LIST
This patch changes target_do_xcopy() to properly return
TCM_INVALID_PARAMETER_LIST instead of TCM_INVALID_CDB_FIELD
for failures related to the EXTENDED_COPY parameter list parsing.

Also, move struct xcopy_op allocation ahead of kmapping to
handle the special TCM_OUT_OF_RESOURCES case.

Reported-by: Thomas Glanzmann <thomas@glanzmann.de>
Reported-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-10-09 01:54:43 -07:00
..
iscsi iscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags 2013-10-03 14:22:45 -07:00
loopback target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
sbp target: make queue_tm_rsp() return void 2013-07-07 18:36:53 -07:00
tcm_fc target: replace strict_strto*() with kstrto*() 2013-08-12 20:31:44 -07:00
Kconfig
Makefile target: Add support for EXTENDED_COPY copy offload emulation 2013-09-10 16:48:43 -07:00
target_core_alua.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_alua.h
target_core_configfs.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_device.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_fabric_configfs.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_fabric_lib.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_file.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_file.h
target_core_hba.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_iblock.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_iblock.h
target_core_internal.h target: Add Third Party Copy (3PC) bit in INQUIRY response 2013-09-10 16:48:46 -07:00
target_core_pr.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_pr.h target: Alter core_pr_dump_initiator_port for ease of use 2013-06-14 00:04:31 -07:00
target_core_pscsi.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_pscsi.h
target_core_rd.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_rd.h target/rd: Add ramdisk bit for NULLIO operation 2013-05-11 16:22:39 -07:00
target_core_sbc.c target: Fail on non zero scsi_status in compare_and_write_callback 2013-10-03 04:24:07 -07:00
target_core_spc.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2013-09-12 16:11:45 -07:00
target_core_stat.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_tmr.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_tpg.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_transport.c target: Fall back to vzalloc upon ->sess_cmd_map kzalloc failure 2013-10-01 21:27:31 -07:00
target_core_ua.c target: Update copyright ownership/year information to 2013 2013-09-10 20:23:36 -07:00
target_core_ua.h
target_core_xcopy.c target: Make target_do_xcopy failures return INVALID_PARAMETER_LIST 2013-10-09 01:54:43 -07:00
target_core_xcopy.h target: Add support for EXTENDED_COPY copy offload emulation 2013-09-10 16:48:43 -07:00