kernel-ark/drivers/s390
Stefan Haberland 6fca97a958 [S390] dasd: fix race condition in resume code
There is a race while re-reading the device characteristics. After
cleaning the memory area a cqr is build which reads the device
characteristics. This may take a rather long time and the device
characteristics structure is zero during this. Now it could be
possible that the block tasklet starts working and a new cqr will be
build. The build_cp command refers to the device characteristics
structure and this may lead into a divide by zero exception.
Fix this by re-reading the device characteristics into a temporary
structur and copy the data to the original structure. Also take the
ccwdev_lock.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-10-06 10:35:11 +02:00
..
block [S390] dasd: fix race condition in resume code 2009-10-06 10:35:11 +02:00
char [S390] 3270 console build fix 2009-10-06 10:35:05 +02:00
cio [S390] cio: allow setting boxed devices offline 2009-10-06 10:35:07 +02:00
crypto [S390] zcrypt: Improve some comments 2009-10-06 10:35:09 +02:00
kvm [S390] kvm: use console_initcall() to initialize s390 virtio console 2009-09-11 10:29:52 +02:00
net trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
scsi trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00