linux/drivers/target/tcm_fc
Christoph Hellwig 22d11759a4 target: make ->shutdown_session optional
Turns out the template and thus many drivers got the return value wrong:
0 means the fabrics driver needs to put a session reference, which no
driver except for the iSCSI target drivers did.  Fortunately none of these
drivers supports explicit Node ACLs, so the bug was harmless.

Even without that only qla2xxx and iscsi every did real work in
shutdown_session, so get rid of the boilerplate code in all other
drivers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2016-05-10 01:19:18 -07:00
..
Kconfig
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target: make ->shutdown_session optional 2016-05-10 01:19:18 -07:00
tfc_cmd.c tcm_fc: Convert to TARGET_SCF_ACK_KREF I/O + TMR krefs 2016-03-10 21:48:23 -08:00
tfc_conf.c target: make ->shutdown_session optional 2016-05-10 01:19:18 -07:00
tfc_io.c target: use offset_in_page macro 2016-01-06 13:39:59 -08:00
tfc_sess.c target: make ->shutdown_session optional 2016-05-10 01:19:18 -07:00