summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-06-11 15:46:45 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-06-19 01:09:56 +0300
commit8edfb0362e8e52dec2de08fa163af01c9da2c9d0 (patch)
tree5f607cf35b8c625695eb7cc3d357432f733185fa /fs/dcache.c
parentc04dca02bc73096435a5c36efd5ccb2171edcbe1 (diff)
downloadlinux-8edfb0362e8e52dec2de08fa163af01c9da2c9d0.tar.xz
hrtimer: Fix hrtimer_is_queued() hole
A queued hrtimer that gets restarted (hrtimer_start*() while hrtimer_is_queued()) will briefly appear as unqueued/inactive, even though the timer has always been active, we just moved it. Close this hole by preserving timer->state in hrtimer_start_range_ns()'s remove_hrtimer() call. Reported-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: ktkhai@parallels.com Cc: rostedt@goodmis.org Cc: juri.lelli@gmail.com Cc: pang.xunlei@linaro.org Cc: wanpeng.li@linux.intel.com Cc: umgwanakikbuti@gmail.com Link: http://lkml.kernel.org/r/20150611124743.175989138@infradead.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions