linux-stable/drivers/s390
Sebastian Ott 9bf05098ce [S390] cio: fix unreg race in set_online path
In ccw_device_set_online we basically start path verification and
wait for the device to reach a final state. If it turns out that the
device has no useable path we schedule the deregistration of the
device (which is still in an non-final state) and wake up the waiting
process. The deregistration process will set a final state, but if
the wake up happens to be prior to this, the device will hang forever
in ccw_device_set_online.

To fix this just set the final NOT_OPER state prior to the scheduled
deregistration of the device.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-05-23 10:23:43 +02:00
..
block [S390] dasd: prevent IO error during reserve/release loop 2011-05-10 17:13:42 +02:00
char Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block 2011-05-18 06:49:02 -07:00
cio [S390] cio: fix unreg race in set_online path 2011-05-23 10:23:43 +02:00
crypto Fix common misspellings 2011-03-31 11:26:23 -03:00
kvm [S390] irqstats: fix counting of pfault, dasd diag and virtio irqs 2011-04-29 10:42:25 +02:00
net qeth: use ndo_set_features callback for initial setup and recovery 2011-05-18 17:27:39 -04:00
scsi Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile