summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-10-18 06:57:00 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:21:56 +0000
commit7c1c6af37af69a4ac4a6485c968496d257245b5d (patch)
tree7837a4ec24de8dc4c373810137250c7e75d9f24b /include/target
parentdbc5623eb2898f5b5dcdc0b16077bb3f58629c78 (diff)
target: remove the task_sg_bidi field se_task and pSCSI BIDI support
This field is never used given that BIDI handling happens at the command and not the task level. Remove it and the dead code in pscsi that tries to work on it. It also prevents pSCSI passthrough for the two currently enabled BIDI commands now that task->task_sg_bidi support has been removed. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Boaz Harrosh <bharrosh@panasas.com> 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 8e2c83d4fbad..132266b15b7c 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -397,7 +397,6 @@ struct se_task {
u32 task_size;
struct se_cmd *task_se_cmd;
struct scatterlist *task_sg;
- struct scatterlist *task_sg_bidi;
u32 task_sg_nents;
u16 task_flags;
u8 task_sense;