commit | baf59022c37d43f202e62d5130e4bac5e825b426 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Sep 16 10:42:16 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Sun Sep 19 17:51:05 2010 +0200 |
tree | 43eea7aac112b2ee07b195e00bce4b14465d1183 | |
parent | 401a8d048eadfbe1b1c1bf53d3b614fcc894c61a [diff] |
workqueue: factor out start_flush_work() Factor out start_flush_work() from flush_work(). start_flush_work() has @wait_executing argument which controls whether the barrier is queued only if the work is pending or also if executing. As flush_work() needs to wait for execution too, it uses %true. This commit doesn't cause any behavior difference. start_flush_work() will be used to implement flush_work_sync(). Signed-off-by: Tejun Heo <tj@kernel.org>