summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig2012-04-24 06:25:07 +0200
committerNicholas Bellinger2012-05-07 00:11:27 +0200
commit226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1 (patch)
treef39c5904c6da5f04a6f5860c646005e21fba4282 /include/target
parenttarget: remove struct se_task (diff)
downloadkernel-qcow2-linux-226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1.tar.gz
kernel-qcow2-linux-226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1.tar.xz
kernel-qcow2-linux-226b6faf2e30e272ee5a52c2ed0a8c8a1d7b47d1.zip
target: remove the t_task_cdbs_left field in struct se_cmd
Now that tasks are gone we are guaranteed to only get a single completion per command, and thus don't need this counter. Signed-off-by: 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 55a80bd50703..f176b8215302 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -549,7 +549,6 @@ struct se_cmd {
unsigned long long t_task_lba;
atomic_t t_fe_count;
atomic_t t_se_count;
- atomic_t t_task_cdbs_left;
atomic_t t_task_cdbs_ex_left;
unsigned int transport_state;
#define CMD_T_ABORTED (1 << 0)