summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-14 11:36:30 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-06 06:00:53 +0000
commit33c3fafc43e56a22be60ebe67bec5ba763d51010 (patch)
tree87a482353c77ff469b4d7b4fab8df105087d8cf9 /include
parent2d3a4b51df4db2ee0415f42a63b9629a7977b975 (diff)
downloadlinux-stable-33c3fafc43e56a22be60ebe67bec5ba763d51010.tar.gz
linux-stable-33c3fafc43e56a22be60ebe67bec5ba763d51010.tar.bz2
linux-stable-33c3fafc43e56a22be60ebe67bec5ba763d51010.zip
target: remove the t_tasks_bidi se_cmd field
And use a SCF_BIDI flag instead. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 357af4546d25..3f9e4da5bd9f 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -106,6 +106,7 @@ enum se_cmd_flags_table {
SCF_FUA = 0x00000200,
SCF_SE_LUN_CMD = 0x00000800,
SCF_SE_ALLOW_EOO = 0x00001000,
+ SCF_BIDI = 0x00002000,
SCF_SENT_CHECK_CONDITION = 0x00004000,
SCF_OVERFLOW_BIT = 0x00008000,
SCF_UNDERFLOW_BIT = 0x00010000,
@@ -459,7 +460,6 @@ struct se_cmd {
unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
unsigned long long t_task_lba;
int t_tasks_failed;
- bool t_tasks_bidi;
u32 t_tasks_sg_chained_no;
atomic_t t_fe_count;
atomic_t t_se_count;