dect
/
linux-2.6
Archived
13
0
Fork 0

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
1 changed files with 3 additions and 1 deletions

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