diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2017-05-09 00:56:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 02:15:12 +0200 |
commit | f2ad37da805414e9385e7ca2961e1d0431df3799 (patch) | |
tree | f9b7298389afda5d32bb4dae3e243816eb252f6f /lib/zlib_inflate/inftrees.c | |
parent | kcov: simplify interrupt check (diff) | |
download | linux-f2ad37da805414e9385e7ca2961e1d0431df3799.tar.xz linux-f2ad37da805414e9385e7ca2961e1d0431df3799.zip |
lib/fault-inject.c: use correct check for interrupts
in_interrupt() also returns true when bh is disabled in task context.
That's not what fail_task() wants to check. Use the new in_task()
predicate that does the right thing.
Link: http://lkml.kernel.org/r/20170321091805.140676-1-dvyukov@google.com
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/zlib_inflate/inftrees.c')
0 files changed, 0 insertions, 0 deletions