summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAl Viro2014-08-01 21:13:40 +0200
committerAl Viro2014-10-09 08:39:01 +0200
commit99358a1ca53e8e6ce09423500191396f0e6584d2 (patch)
treece3dca2597219e4e0cd7fe4e308e634c86613263 /fs/dcache.c
parentvfs: fix typo in s_op->alloc_inode() documentation (diff)
downloadkernel-qcow2-linux-99358a1ca53e8e6ce09423500191396f0e6584d2.tar.gz
kernel-qcow2-linux-99358a1ca53e8e6ce09423500191396f0e6584d2.tar.xz
kernel-qcow2-linux-99358a1ca53e8e6ce09423500191396f0e6584d2.zip
[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 <jefftharris@gmail.com> Tested-by: Jeff Harris <jefftharris@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions