Re: [PATCH v2 1/7] drivers/base: Introduce kill_device()

2019-07-17 Thread Greg Kroah-Hartman
On Wed, Jul 17, 2019 at 06:07:53PM -0700, Dan Williams wrote: > The libnvdimm subsystem arranges for devices to be destroyed as a result > of a sysfs operation. Since device_unregister() cannot be called from > an actively running sysfs attribute of the same device libnvdimm > arranges for

[PATCH v2 1/7] drivers/base: Introduce kill_device()

2019-07-17 Thread Dan Williams
The libnvdimm subsystem arranges for devices to be destroyed as a result of a sysfs operation. Since device_unregister() cannot be called from an actively running sysfs attribute of the same device libnvdimm arranges for device_unregister() to be performed in an out-of-line async context. The