[SCSI] fix bsg queue oops with iscsi logout
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 11 Mar 2008 05:36:51 +0000 (00:36 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 13 Mar 2008 21:47:05 +0000 (16:47 -0500)
commit4b6f5b3a993cbe34b4280f252bccc76967c185c8
tree2f7a0d8df682860c5863c0822b69fc3171c0cf82
parent67951f63807328b81e45c3c87af049c55c0a0081
[SCSI] fix bsg queue oops with iscsi logout

Delay bsg unregistration, because we want to wait until all the request/cmds
have released their reference.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_sysfs.c