diff options
| author | Christoph Hellwig <hch@infradead.org> | 2011-10-17 13:56:41 -0400 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:21:32 -0400 |
| commit | e057f53308a5f071556ee80586b99ee755bf07f5 (patch) | |
| tree | 560174961d64837f53b32f56bced6f9109717b8b /include | |
| parent | f55918fa3202a646dad2404f7de008108edc5048 (diff) | |
target: remove the transport_qf_callback se_cmd callback
Remove the need for the transport_qf_callback callback by making
sure we have specific states with specific handlers for the two
queue full cases.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 16d7a4985639..2d47aa9f762a 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
| @@ -102,6 +102,7 @@ enum transport_state_table { | |||
| 102 | TRANSPORT_NEW_CMD_MAP = 16, | 102 | TRANSPORT_NEW_CMD_MAP = 16, |
| 103 | TRANSPORT_FREE_CMD_INTR = 17, | 103 | TRANSPORT_FREE_CMD_INTR = 17, |
| 104 | TRANSPORT_COMPLETE_QF_WP = 18, | 104 | TRANSPORT_COMPLETE_QF_WP = 18, |
| 105 | TRANSPORT_COMPLETE_QF_OK = 19, | ||
| 105 | }; | 106 | }; |
| 106 | 107 | ||
| 107 | /* Used for struct se_cmd->se_cmd_flags */ | 108 | /* Used for struct se_cmd->se_cmd_flags */ |
| @@ -471,7 +472,6 @@ struct se_cmd { | |||
| 471 | struct target_core_fabric_ops *se_tfo; | 472 | struct target_core_fabric_ops *se_tfo; |
| 472 | int (*transport_emulate_cdb)(struct se_cmd *); | 473 | int (*transport_emulate_cdb)(struct se_cmd *); |
| 473 | void (*transport_complete_callback)(struct se_cmd *); | 474 | void (*transport_complete_callback)(struct se_cmd *); |
| 474 | int (*transport_qf_callback)(struct se_cmd *); | ||
| 475 | 475 | ||
| 476 | unsigned char *t_task_cdb; | 476 | unsigned char *t_task_cdb; |
| 477 | unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; | 477 | unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE]; |
