diff options
| author | Christoph Hellwig <hch@lst.de> | 2011-09-13 17:09:01 -0400 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:20:38 -0400 |
| commit | 82f1c8a4e7739eae9f1c32c2c419efdc19b8af41 (patch) | |
| tree | e4b9141c59cbc1402b96fb34003205fe90d362df /include/target | |
| parent | e6a2573f1f5d66f0456c433afdfc63f33fdf9008 (diff) | |
target: push session reinstatement out of transport_generic_free_cmd
Push session reinstatement out of transport_generic_free_cmd into the only
caller that actually needs it. Clean up transport_generic_free_cmd a bit,
and remove the useless comment. I'd love to add a more useful kerneldoc
comment for it, but as this point I'm still a bit confused in where it
stands in the command release stack.
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_transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h index 99a671e0f9da..a113129fa22e 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); | |||
| 184 | extern int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); | 184 | extern int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); |
| 185 | extern void transport_send_task_abort(struct se_cmd *); | 185 | extern void transport_send_task_abort(struct se_cmd *); |
| 186 | extern void transport_release_cmd(struct se_cmd *); | 186 | extern void transport_release_cmd(struct se_cmd *); |
| 187 | extern void transport_generic_free_cmd(struct se_cmd *, int, int); | 187 | extern bool transport_generic_free_cmd(struct se_cmd *, int); |
| 188 | extern void transport_generic_wait_for_cmds(struct se_cmd *, int); | 188 | extern void transport_generic_wait_for_cmds(struct se_cmd *, int); |
| 189 | extern int transport_init_task_sg(struct se_task *, struct se_mem *, u32); | 189 | extern int transport_init_task_sg(struct se_task *, struct se_mem *, u32); |
| 190 | extern int transport_map_mem_to_sg(struct se_task *, struct list_head *, | 190 | extern int transport_map_mem_to_sg(struct se_task *, struct list_head *, |
