forked from luck/tmp_suning_uos_patched
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;
|
||||
}
|
||||
|
||||
if (!debug_locks_off())
|
||||
if (!debug_locks_off()) {
|
||||
rcu_read_unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
printk("\n============================================\n");
|
||||
printk( "[ BUG: circular locking deadlock detected! ]\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user