[S390] cio: fix incorrect ccw_device_init_count
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 10 Nov 2010 09:05:53 +0000 (10:05 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 10 Nov 2010 09:05:54 +0000 (10:05 +0100)
commit16d2ce271c6b8b3527ed1461d03b5f373d53f78f
tree9e2fbffaf696bfa681a822ac27061bee35476fd7
parent3b210e7652a0ac638b1a267b6a181c8f742d8462
[S390] cio: fix incorrect ccw_device_init_count

If device recognition is interrupted by a subchannel event
indicating that the device is gone, ccw_device_init_count
is not correctly decreased.

Fix this by reporting the corresponding event to the device
recognition callback via the state machine.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c
This page took 0.025137 seconds and 5 git commands to generate.