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:Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Acked-by:
Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/20140323141939.911487677@linutronix.de Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
XileForce <rdaguiar360@gmail.com> Original commit: https://github.com/ktoonsez/KTSGS6/commit/bdb1cadd6b5ef151fe7cbdad5db8de0b16956093
Loading
Please register or sign in to comment