diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-05-23 16:48:44 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-06 23:11:27 -0700 |
commit | d1c26857cdec3e3bdb5cf7179411f6ce8cc0834c (patch) | |
tree | c82cb87bd5f15a840095adff694f09fc6637a6c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4412a67131a037fa1d032bcd50270e9d336a775d (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 <bart.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions