From: Tejun Heo Date: Thu, 16 Sep 2010 08:42:16 +0000 (+0200) Subject: workqueue: factor out start_flush_work() X-Git-Tag: v2.6.37-rc1~164^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf59022c37d43f202e62d5130e4bac5e825b426;p=pandora-kernel.git 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 --- Reading git-diff-tree failed