Skip to content
Commit 978b8409 authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: Factor out work_grab_pending() from __cancel_work_sync()



The planned disable/enable support will need the same logic. Let's factor it
out. No functional changes.

v2: Update function comment to include @irq_flags.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reviewed-by: default avatarLai Jiangshan <jiangshanlai@gmail.com>
parent e9a8e01f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment