Skip to content
Commit ea2e64f2 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

workqueue: Provide destroy_delayed_work_on_stack()



If a delayed or deferrable work is on stack we need to tell debug
objects that we are destroying the timer and the work. Otherwise we
leak the tracking object.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20140323141939.911487677@linutronix.de


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 87291a92
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