| commit | 85acc407bf1c49fb40b8f461c2c7526af736d87e | [log] [tgz] |
|---|---|---|
| author | Cornelia Huck <cornelia.huck@de.ibm.com> | Fri Nov 14 18:18:06 2008 +0100 |
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Nov 14 18:18:54 2008 +0100 |
| tree | 356a407f2f621fc50cba45d0453958e7143738a1 | |
| parent | 50bec4ce5d36ebf96189dcc54e20c7fce4bf61bf [diff] |
[S390] cio: Fix refcount after moving devices.
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>