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:
Thomas Gleixner 2011-10-05 13:20:24 +02:00
parent 0119fee449
commit 68cc3990a5

View File

@ -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");