summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_iblock.h
diff options
context:
space:
mode:
authorChristoph Hellwig2012-04-24 06:25:06 +0200
committerNicholas Bellinger2012-05-07 00:11:26 +0200
commit5787cacd0bd5ee016ad807b244550d34fe2beebe (patch)
treed9303fd0c5767f945c13dfc34eb0b16a4f4d2730 /drivers/target/target_core_iblock.h
parenttarget: move the state and execute lists to the command (diff)
downloadkernel-qcow2-linux-5787cacd0bd5ee016ad807b244550d34fe2beebe.tar.gz
kernel-qcow2-linux-5787cacd0bd5ee016ad807b244550d34fe2beebe.tar.xz
kernel-qcow2-linux-5787cacd0bd5ee016ad807b244550d34fe2beebe.zip
target: remove struct se_task
We can use struct se_cmd for everything it did. Make sure to pass the S/G list and data direction to the execution function to ease adding back BIDI support later on. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_iblock.h')
-rw-r--r--drivers/target/target_core_iblock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h
index e929370b6fd3..66cf7b9e205e 100644
--- a/drivers/target/target_core_iblock.h
+++ b/drivers/target/target_core_iblock.h
@@ -7,7 +7,6 @@
#define IBLOCK_LBA_SHIFT 9
struct iblock_req {
- struct se_task ib_task;
atomic_t pending;
atomic_t ib_bio_err_cnt;
} ____cacheline_aligned;