summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-08-03 19:30:44 +0200
committerTejun Heo <tj@kernel.org>2012-08-03 19:30:44 +0200
commitd4283e9378619c14dc3826a6b0527eb5d967ffde (patch)
tree1b1e401e51021c90407fae58e000c183a0e6c0e2 /security
parentworkqueue: reorder queueing functions so that _on() variants are on top (diff)
downloadlinux-d4283e9378619c14dc3826a6b0527eb5d967ffde.tar.xz
linux-d4283e9378619c14dc3826a6b0527eb5d967ffde.zip
workqueue: make queueing functions return bool
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: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions