From: Cornelia Huck Date: Fri, 14 Nov 2008 17:18:06 +0000 (+0100) Subject: [S390] cio: Fix refcount after moving devices. X-Git-Tag: v2.6.28-rc5~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85acc407bf1c49fb40b8f461c2c7526af736d87e;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed