]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] cio: allow offline processing for disconnected devices
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Tue, 9 Sep 2008 10:38:59 +0000 (12:38 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Sep 2008 10:39:07 +0000 (12:39 +0200)
commitb301ea8c81b13123761772f344faf606c76ba174
tree1fe42d0b308dc613b8b518fed09849a9242e027c
parentc91ebe496120e05301465fff31094bfecf798e9f
[S390] cio: allow offline processing for disconnected devices

When disconnected ccw devices are removed, the device has to be set
offline, otherwise there will be side effects including a reference
count imbalance. This patch modifies ccw_device_offline to work for
devices in disconnecte/not operational state. ccw_device_offline is
called by cio for devices which are online during device removal.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device_fsm.c