Re: [PATCH] vmbus: unregister device_obj->channels_kset

2017-11-13 Thread Stephen Hemminger
On Mon, 13 Nov 2017 01:53:33 + Dexuan Cui wrote: > Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info") > > Without the patch, a device can't be thoroughly destroyed, because > vmbus_device_register() -> kset_create_and_add() still holds a reference > to the

Re: [PATCH] vmbus: unregister device_obj->channels_kset

2017-11-13 Thread Stephen Hemminger
On Mon, 13 Nov 2017 01:53:33 + Dexuan Cui wrote: > Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info") > > 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. >

[PATCH] vmbus: unregister device_obj->channels_kset

2017-11-12 Thread Dexuan Cui
Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info") 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 Cc: Stephen

[PATCH] vmbus: unregister device_obj->channels_kset

2017-11-12 Thread Dexuan Cui
Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info") 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 Cc: Stephen Hemminger Cc: K. Y.