diff options
| author | Nicholas Bellinger <[email protected]> | 2013-10-07 22:20:07 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2013-10-09 08:54:43 +0000 |
| commit | 934a138e970e5af73d6f79469a1eb363572abbaa (patch) | |
| tree | be6beb6fd04652684aa4e1c8ce3a6d7cf16ec1c7 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | iscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags (diff) | |
| download | kernel-934a138e970e5af73d6f79469a1eb363572abbaa.tar.gz kernel-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 <[email protected]>
Reported-by: Douglas Gilbert <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
