Brian King 3eddc56977 [SCSI] ibmvfc: Fix another hang on module removal
This fixes a hang on module removal. The module removal code was setting
the hosts's state to IBMVFC_HOST_OFFLINE before tearing down the kernel
thread, but, due to a bug in ibmvfc_wait_while_resetting, was not waiting
for the kernel thread's offlining work to be done prior to destroying
the kernel thread, which left the scsi host in a blocked state which we
never got out of.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-08-16 10:47:46 -05:00
..
2008-06-15 11:12:20 -05:00
2008-07-26 15:17:47 -04:00
2008-06-20 14:05:49 -06:00
2008-07-14 15:29:34 -06:00
2008-02-23 09:07:32 -06:00
2008-07-02 15:06:25 -06:00
2008-07-30 10:21:56 -05:00
2008-08-04 21:31:34 -07:00
2008-07-04 09:52:14 +02:00
2008-07-26 15:14:47 -04:00
2008-07-26 15:14:49 -04:00