aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-10-08 16:59:52 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:20:39 -0400
commit39c05f321a4b27f3036392eed68bd94ce2267155 (patch)
tree28f5db67b1ac89444428cc03d043481b51fbac71 /include/target
parent82f1c8a4e7739eae9f1c32c2c419efdc19b8af41 (diff)
target: Remove session_reinstatement parameter from ->transport_wait_for_tasks
This patch removes the unnecessary session_reinstatement parameter from se_cmd->transport_wait_for_tasks(), logic in transport_generic_wait_for_tasks, and usage within iscsi-target code. This also includes the removal of the 'bool' return from transport_put_cmd() + transport_generic_free_cmd() that is no longer necessary. Cc: 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.h2
-rw-r--r--include/target/target_core_transport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 27040653005e..c10e351bc1f5 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -480,7 +480,7 @@ struct se_cmd {
480 struct target_core_fabric_ops *se_tfo; 480 struct target_core_fabric_ops *se_tfo;
481 int (*transport_emulate_cdb)(struct se_cmd *); 481 int (*transport_emulate_cdb)(struct se_cmd *);
482 void (*transport_split_cdb)(unsigned long long, u32, unsigned char *); 482 void (*transport_split_cdb)(unsigned long long, u32, unsigned char *);
483 void (*transport_wait_for_tasks)(struct se_cmd *, int, int); 483 void (*transport_wait_for_tasks)(struct se_cmd *, int);
484 void (*transport_complete_callback)(struct se_cmd *); 484 void (*transport_complete_callback)(struct se_cmd *);
485 int (*transport_qf_callback)(struct se_cmd *); 485 int (*transport_qf_callback)(struct se_cmd *);
486 486
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h
index a113129fa22e..e67feeb88b69 100644
--- a/include/target/target_core_transport.h
+++ b/include/target/target_core_transport.h
@@ -184,7 +184,7 @@ extern int transport_check_aborted_status(struct se_cmd *, int);
184extern int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); 184extern int transport_send_check_condition_and_sense(struct se_cmd *, u8, int);
185extern void transport_send_task_abort(struct se_cmd *); 185extern void transport_send_task_abort(struct se_cmd *);
186extern void transport_release_cmd(struct se_cmd *); 186extern void transport_release_cmd(struct se_cmd *);
187extern bool transport_generic_free_cmd(struct se_cmd *, int); 187extern void transport_generic_free_cmd(struct se_cmd *, int);
188extern void transport_generic_wait_for_cmds(struct se_cmd *, int); 188extern void transport_generic_wait_for_cmds(struct se_cmd *, int);
189extern int transport_init_task_sg(struct se_task *, struct se_mem *, u32); 189extern int transport_init_task_sg(struct se_task *, struct se_mem *, u32);
190extern int transport_map_mem_to_sg(struct se_task *, struct list_head *, 190extern int transport_map_mem_to_sg(struct se_task *, struct list_head *,