Re: [RFC PATCH 3/4] workqueue: remove the unbind workqueue attr sys_file before unregister the workqueue device
From: Tejun Heo
Date: Thu Jan 07 2016 - 11:00:15 EST
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?
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/