]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] cio: Fix refcount after moving devices.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 14 Nov 2008 17:18:06 +0000 (18:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 14 Nov 2008 17:18:54 +0000 (18:18 +0100)
In ccw_device_move_to_orphanage(), a replacing ccw_device
is searched via get_{disc,orphaned}_ccwdev_by_dev_id()
which obtain a reference on the returned ccw_device.
This reference must be given up again after the device
has been moved to its new parent.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found