fault-inject-use-correct-check-for-interrupts.patch removed from -mm tree
The patch titled
Subject: lib/fault-inject.c: use correct check for interrupts
has been removed from the -mm tree. Its filename was
fault-inject-use-correct-check-for-interrupts.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dmitry Vyukov <[email protected]>
Subject: 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.
Signed-off-by Dmitry Vyukov <[email protected]>
Reviewed-by Akinobu Mita <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/fault-inject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/fault-inject.c renamed from lib/fault-inject.c~fault-inject-use-correct-check-for-interrupts +1 -1
@@ -56,7 +56,7 @@ static void fail_dump(struct fault_attrstatic bool fail_task (struct fault_attr *attr,struct task_struct *task) { -return !in_interrupt () && task->make_it_fail; +return in_task () && task->make_it_fail; }#define MAX_STACK_TRACE_DEPTH 32
_
Patches currently in -mm which might be from [email protected] are
fault-inject-support-systematic-fault-injection.patch