diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-11-14 18:18:06 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-11-14 18:18:54 +0100 |
commit | 85acc407bf1c49fb40b8f461c2c7526af736d87e (patch) | |
tree | 356a407f2f621fc50cba45d0453958e7143738a1 /fs/bio.c | |
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>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions