[SCSI] iscsi class: fix lock dep warning on logout
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 5 Mar 2009 20:46:02 +0000 (14:46 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 13 Mar 2009 20:28:22 +0000 (15:28 -0500)
commit06d25af4edb60f9e9c7e74d342a6963a32e3392f
tree7a65886c2f0e1d6ff4a95e1f4fd5f005079a715d
parente28f3d5b51ed07d822f135cd941b01e2d485270e
[SCSI] iscsi class: fix lock dep warning on logout

We never should hit the lock up that is spit out when
lock dep is on and we logout. But we have been using the
shost work queue in a odd way. This patch has us use the
work queue for scanning instead of creating our own,
and this ends up also killing the lock dep warnings.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h