summaryrefslogtreecommitdiffstats
path: root/kernel/rtmutex_common.h
diff options
context:
space:
mode:
authorNicholas Bellinger2013-10-08 00:20:07 +0200
committerNicholas Bellinger2013-10-09 10:54:43 +0200
commit934a138e970e5af73d6f79469a1eb363572abbaa (patch)
treebe6beb6fd04652684aa4e1c8ce3a6d7cf16ec1c7 /kernel/rtmutex_common.h
parentiscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags (diff)
downloadkernel-qcow2-linux-934a138e970e5af73d6f79469a1eb363572abbaa.tar.gz
kernel-qcow2-linux-934a138e970e5af73d6f79469a1eb363572abbaa.tar.xz
kernel-qcow2-linux-934a138e970e5af73d6f79469a1eb363572abbaa.zip
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>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions