summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-04-23 11:35:31 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-05-06 18:03:41 -0400
commit7a83aa4e7b26ba61b9dc98d5c0bf725f4df0043f (patch)
treedc2c7e29f7850e238e5f752aaeb4bbaa8dd69f94 /include/target
parent72a0e5e2e2e6b577343c79013611ad5701e94482 (diff)
target: remove the task_size field in struct se_task
Now that we don't split commands the size field in the task is always equivalent to the one in the CDB, even in cases where we have two tasks due to a BIDI transfer. Just refer the the size in the command instead of duplicating it in the task. 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 df5a4671c82d..5a4249d84040 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -487,7 +487,6 @@ struct se_queue_obj {
487 487
488struct se_task { 488struct se_task {
489 u32 task_sectors; 489 u32 task_sectors;
490 u32 task_size;
491 struct se_cmd *task_se_cmd; 490 struct se_cmd *task_se_cmd;
492 struct scatterlist *task_sg; 491 struct scatterlist *task_sg;
493 u32 task_sg_nents; 492 u32 task_sg_nents;