Skip to content
Commit 9e993efb authored by Dmitriy Monakhov's avatar Dmitriy Monakhov Committed by Greg Kroah-Hartman
Browse files

kobject: new_device->kref wasn't putted after error in kobject_move()



If error happen we jump to "out" label, in this case new_device not yet
became the parent but it wasn't putted.

Signed-off-by: default avatarMonakhov Dmitriy <dmonakhov@openvz.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a2807dbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment