commit | 869b5567e12f63ea7407f81728ca87f8c0abbfdb | [log] [tgz] |
---|---|---|
author | Dexuan Cui <decui@microsoft.com> | Tue Nov 14 06:53:32 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 18 15:47:12 2017 +0100 |
tree | be534d33b4ab23a29e28aaaf1261c64c8822d618 | |
parent | 74657181e7c449351d1ad28cf43941bc333e1bd6 [diff] |
vmbus: unregister device_obj->channels_kset Without the patch, a device can't be thoroughly destroyed, because vmbus_device_register() -> kset_create_and_add() still holds a reference to the hv_device's device.kobj. Signed-off-by: Dexuan Cui <decui@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info") Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>