target: Remove session_reinstatement parameter from ->transport_wait_for_tasks
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 8 Oct 2011 20:59:52 +0000 (13:59 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:39 +0000 (03:20 +0000)
commit39c05f321a4b27f3036392eed68bd94ce2267155
tree28f5db67b1ac89444428cc03d043481b51fbac71
parent82f1c8a4e7739eae9f1c32c2c419efdc19b8af41
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>
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_erl2.c
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_transport.h