Bart Van Assche c017069823 target: Inline transport_put_cmd()
Since all transput_put_cmd() does is to call target_put_sess_cmd(),
inline transport_put_cmd() into its callers. Leave out the BUG_ON()
statement because if cmd->se_tfo == NULL then cmd->cmd_kref is 0
and kref_put() will complain anyway. Notes:
- transport_init_se_cmd() initializes both .se_tfo and .cmd_kref.
- The only target driver that does not call transport_init_se_cmd()
  for all commands is the iSCSI target driver. See also
  iscsi_target_rx_opcode().

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2017-11-04 15:15:41 -07:00
..
2017-10-07 13:17:07 +02:00
2017-10-17 06:23:09 -04:00
2017-10-15 07:50:38 -04:00
2017-09-19 08:36:19 +02:00
2017-10-17 15:54:41 -04:00
2017-10-23 06:37:16 -04:00
2017-11-04 15:15:41 -07:00
2017-09-14 13:33:33 -07:00
2017-09-29 12:24:28 -07:00