[SCSI] iscsi bugfixes: fix oops when iser is flushing io
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 24 Jul 2006 20:47:26 +0000 (15:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 28 Jul 2006 16:48:32 +0000 (11:48 -0500)
commit1c83469d36a9dd30dbf1fb9fc5ca3be3a0e64ff4
treed20c53420f6596ebd6500562b294ef820a190887
parent7ea8b82847293c2311cf08fc3ed31ab0e452a27e
[SCSI] iscsi bugfixes: fix oops when iser is flushing io

When we enter recovery and flush the running commands
we cannot freee the connection before flushing the commands.
Some commands may have a reference to the connection
that needs to be released before. iscsi_stop was forcing
the term and suspend too early and was causing a oops
in iser, so this patch removes those callbacks all together
and allows the LLD to handle that detail.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi.c
include/scsi/scsi_transport_iscsi.h