target: Fix incorrect transport_sent usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 01:16:13 +0000 (18:16 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:22:06 +0000 (03:22 +0000)
commit415a090ade7e674018e3fa4255938e4c312339b3
tree075991035ca3410cdd2a9110d2cde1c1ca485e4d
parentaf3f00c75949369d937f499f49118e879939724d
target: Fix incorrect transport_sent usage

This patch converts target-core to use se_cmd->t_transport_sent instead of
a duplicated se_cmd->transport_sent member in a handful of locations.
It also updates iscsi_target to properly use ->t_transport_sent instead of
it's own iscsi_cmd_t->transport_sent value that was not being assigned.

Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_core.h
drivers/target/iscsi/iscsi_target_tmr.c
drivers/target/target_core_transport.c
include/target/target_core_base.h