rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
0119fee449
commit
68cc3990a5
|
@ -94,8 +94,10 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!debug_locks_off())
|
if (!debug_locks_off()) {
|
||||||
|
rcu_read_unlock();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
printk("\n============================================\n");
|
printk("\n============================================\n");
|
||||||
printk( "[ BUG: circular locking deadlock detected! ]\n");
|
printk( "[ BUG: circular locking deadlock detected! ]\n");
|
||||||
|
|
Reference in New Issue