aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 21:16:13 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:22:06 -0400
commit415a090ade7e674018e3fa4255938e4c312339b3 (patch)
tree075991035ca3410cdd2a9110d2cde1c1ca485e4d /include/target
parentaf3f00c75949369d937f499f49118e879939724d (diff)
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>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 132266b15b7c..d210f1fe9962 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -439,7 +439,6 @@ struct se_cmd {
439 u32 orig_fe_lun; 439 u32 orig_fe_lun;
440 /* Persistent Reservation key */ 440 /* Persistent Reservation key */
441 u64 pr_res_key; 441 u64 pr_res_key;
442 atomic_t transport_sent;
443 /* Used for sense data */ 442 /* Used for sense data */
444 void *sense_buffer; 443 void *sense_buffer;
445 struct list_head se_delayed_node; 444 struct list_head se_delayed_node;