diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-11-23 06:53:58 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 06:26:27 -0500 |
commit | ef804a849ffae058a783e9dddd24cc1a555bbdb4 (patch) | |
tree | e67737300936c2b94359ded96d9113981cb610aa /include/target | |
parent | c4795fb20edf2fe2c862c8fe9f8b681edeb79ac1 (diff) |
target: fold se_task.task_sense into task_flags
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 1d90fb33e60b..7f3acdde97de 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -138,11 +138,12 @@ enum transport_tpg_type_table { | |||
138 | TRANSPORT_TPG_TYPE_DISCOVERY = 1, | 138 | TRANSPORT_TPG_TYPE_DISCOVERY = 1, |
139 | }; | 139 | }; |
140 | 140 | ||
141 | /* Used for generate timer flags */ | 141 | /* struct se_task->task_flags */ |
142 | enum se_task_flags { | 142 | enum se_task_flags { |
143 | TF_ACTIVE = (1 << 0), | 143 | TF_ACTIVE = (1 << 0), |
144 | TF_SENT = (1 << 1), | 144 | TF_SENT = (1 << 1), |
145 | TF_REQUEST_STOP = (1 << 2), | 145 | TF_REQUEST_STOP = (1 << 2), |
146 | TF_HAS_SENSE = (1 << 3), | ||
146 | }; | 147 | }; |
147 | 148 | ||
148 | /* Special transport agnostic struct se_cmd->t_states */ | 149 | /* Special transport agnostic struct se_cmd->t_states */ |
@@ -488,7 +489,6 @@ struct se_task { | |||
488 | struct scatterlist *task_sg; | 489 | struct scatterlist *task_sg; |
489 | u32 task_sg_nents; | 490 | u32 task_sg_nents; |
490 | u16 task_flags; | 491 | u16 task_flags; |
491 | u8 task_sense; | ||
492 | u8 task_scsi_status; | 492 | u8 task_scsi_status; |
493 | int task_error_status; | 493 | int task_error_status; |
494 | enum dma_data_direction task_data_direction; | 494 | enum dma_data_direction task_data_direction; |