diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2014-08-01 20:13:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-16 07:22:12 +0200 |
commit | e315b460a61b7b948609bde227efd603955400a6 (patch) | |
tree | de8e03c57175adf13c83b85300db4e64528371e8 /cpukit/libfs/src/jffs2/src/readinode.c | |
parent | initramfs: support initramfs that is bigger than 2GiB (diff) | |
download | rtems-e315b460a61b7b948609bde227efd603955400a6.tar.bz2 |
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 '')
0 files changed, 0 insertions, 0 deletions