Commit 5d8f0a43 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] workqueue flush on destroy

parent fec6fe9c
......@@ -317,6 +317,8 @@ void destroy_workqueue(struct workqueue_struct *wq)
struct cpu_workqueue_struct *cwq;
int cpu;
flush_workqueue(wq);
for (cpu = 0; cpu < NR_CPUS; cpu++) {
if (!cpu_online(cpu))
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment