summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-04-23 17:35:30 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-05-07 00:02:59 +0200
commit72a0e5e2e2e6b577343c79013611ad5701e94482 (patch)
tree06e41f5240a98040a2a6eed30ab75c0c4213baf2 /include
parenttarget: remove target_get_task_cdb (diff)
downloadlinux-72a0e5e2e2e6b577343c79013611ad5701e94482.tar.xz
linux-72a0e5e2e2e6b577343c79013611ad5701e94482.zip
target: remove the task_lba field in struct se_task
Now that we don't split commands the lba 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 lba 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')
-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 8ec4e8232be4..df5a4671c82d 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -486,7 +486,6 @@ struct se_queue_obj {
};
struct se_task {
- unsigned long long task_lba;
u32 task_sectors;
u32 task_size;
struct se_cmd *task_se_cmd;