aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-05-23 16:48:44 -0700
committerNicholas Bellinger <[email protected]>2017-07-06 23:11:27 -0700
commitd1c26857cdec3e3bdb5cf7179411f6ce8cc0834c (patch)
treec82cb87bd5f15a840095adff694f09fc6637a6c2 /tools/perf/scripts/python
parent4412a67131a037fa1d032bcd50270e9d336a775d (diff)
target/iscsi: Simplify iscsit_free_cmd()
Since .se_tfo is only set if a command has been submitted to the LIO core, check .se_tfo instead of .iscsi_opcode. Since __iscsit_free_cmd() only affects SCSI commands but not TMFs, calling that function for TMFs does not change behavior. This patch does not change the behavior of iscsit_free_cmd(). Signed-off-by: Bart Van Assche <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Andy Grover <[email protected]> Cc: David Disseldorp <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions