提交 68cc3990 编写于 作者: T Thomas Gleixner

rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 0119fee4
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册