diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-08 13:59:52 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:20:39 +0000 |
commit | 39c05f321a4b27f3036392eed68bd94ce2267155 (patch) | |
tree | 28f5db67b1ac89444428cc03d043481b51fbac71 /include/target/target_core_transport.h | |
parent | 82f1c8a4e7739eae9f1c32c2c419efdc19b8af41 (diff) | |
download | op-kernel-dev-39c05f321a4b27f3036392eed68bd94ce2267155.zip op-kernel-dev-39c05f321a4b27f3036392eed68bd94ce2267155.tar.gz |
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/target_core_transport.h')
-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 a113129..e67feeb 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); extern int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); extern void transport_send_task_abort(struct se_cmd *); extern void transport_release_cmd(struct se_cmd *); -extern bool transport_generic_free_cmd(struct se_cmd *, int); +extern void transport_generic_free_cmd(struct se_cmd *, int); extern void transport_generic_wait_for_cmds(struct se_cmd *, int); extern int transport_init_task_sg(struct se_task *, struct se_mem *, u32); extern int transport_map_mem_to_sg(struct se_task *, struct list_head *, |