• T
    workqueue: make queueing functions return bool · d4283e93
    Tejun Heo 提交于
    All queueing functions return 1 on success, 0 if the work item was
    already pending.  Update them to return bool instead.  This signifies
    better that they don't return 0 / -errno.
    
    This is cleanup and doesn't cause any functional difference.
    
    While at it, fix comment opening for schedule_work_on().
    Signed-off-by: NTejun Heo <tj@kernel.org>
    d4283e93
workqueue.c 102.2 KB