target: Add TFO->put_session() caller for HW fabric session shutdown
authorJoern Engel <joern@logfs.org>
Fri, 18 May 2012 20:57:19 +0000 (13:57 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Jun 2012 02:33:05 +0000 (19:33 -0700)
commit4149268e7816d719b0fde8e89aaa6db8c168fc43
tree3c180fca14317541addad2cf65e0d5ad5b01bc3d
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
target: Add TFO->put_session() caller for HW fabric session shutdown

This patch adds an optional target_core_fabric_ops->put_session() caller
within the existing target_put_session() code path.

This is required by tcm_qla2xxx code in order to invoke it's own fabric
specific session shutdown handler using se_session->sess_kref.

Signed-off-by: Joern Engel <joern@logfs.org>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_fabric.h