From: Al Viro Date: Fri, 1 Aug 2014 19:13:40 +0000 (+0100) Subject: [jffs2] kill wbuf_queued/wbuf_dwork_lock X-Git-Tag: fixes-against-v3.18-rc2~105^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99358a1ca53e8e6ce09423500191396f0e6584d2;p=pandora-kernel.git [jffs2] kill wbuf_queued/wbuf_dwork_lock schedule_delayed_work() happening when the work is already pending is a cheap no-op. Don't bother with ->wbuf_queued logics - it's both broken (cancelling ->wbuf_dwork leaves it set, as spotted by Jeff Harris) and pointless. It's cheaper to let schedule_delayed_work() handle that case. Reported-by: Jeff Harris Tested-by: Jeff Harris Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- Reading git-diff-tree failed