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_base.h | |
parent | 82f1c8a4e7739eae9f1c32c2c419efdc19b8af41 (diff) | |
download | kernel_goldelico_gta04-39c05f321a4b27f3036392eed68bd94ce2267155.zip kernel_goldelico_gta04-39c05f321a4b27f3036392eed68bd94ce2267155.tar.gz kernel_goldelico_gta04-39c05f321a4b27f3036392eed68bd94ce2267155.tar.bz2 |
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_base.h')
-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 2704065..c10e351 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -480,7 +480,7 @@ struct se_cmd { struct target_core_fabric_ops *se_tfo; int (*transport_emulate_cdb)(struct se_cmd *); void (*transport_split_cdb)(unsigned long long, u32, unsigned char *); - void (*transport_wait_for_tasks)(struct se_cmd *, int, int); + void (*transport_wait_for_tasks)(struct se_cmd *, int); void (*transport_complete_callback)(struct se_cmd *); int (*transport_qf_callback)(struct se_cmd *); |