• Tejun Heo's avatar
    workqueue: Rename __cancel_work_timer() to __cancel_timer_sync() · c5140688
    Tejun Heo authored
    __cancel_work_timer() is used to implement cancel_work_sync() and
    cancel_delayed_work_sync(), similarly to how __cancel_work() is used to
    implement cancel_work() and cancel_delayed_work(). ie. The _timer part of
    the name is a complete misnomer. The difference from __cancel_work() is the
    fact that it syncs against work item execution not whether it handles timers
    or not.
    
    Let's rename it to less confusing __cancel_work_sync(). No functional
    change.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Reviewed-by: default avatarLai Jiangshan <jiangshanlai@gmail.com>
    c5140688
workqueue.c 216 KB