alistair23-linux/drivers/vhost
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 vhost: cross-endian support for legacy devices 2015-06-01 15:48:55 +02:00
Makefile
net.c vhost_net: basic polling support 2016-03-11 02:18:53 +02:00
scsi.c target: make ->shutdown_session optional 2016-05-10 01:19:18 -07:00
test.c vhost: rename vhost_init_used() 2016-03-02 17:02:04 +02:00
test.h
vhost.c vhost_net: basic polling support 2016-03-11 02:18:53 +02:00
vhost.h vhost_net: basic polling support 2016-03-11 02:18:53 +02:00
vringh.c