Re: [RFC PATCH 3/4] workqueue: remove the unbind workqueue attr sys_file before unregister the workqueue device

From: wanghaibin
Date: Mon Jan 11 2016 - 07:23:52 EST


On 2016/1/8 0:00, Tejun Heo wrote:

> On Thu, Jan 07, 2016 at 08:38:58PM +0800, wanghaibin wrote:
>> for workqueue's flag with the WQ_SYSFS | WQ_UNBOUND, the wq_dev will create some sys_files for
>> unbound attrs, so, remove the unbind workqueue attrs sys_files before unregister the
>> workqueue device.
>
> File removal on sysfs is recursive, right? Does explicitly removing
> file make any difference?

Yes, It has been removed already, I made a mistake.
Thanks.

>