From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:20:24 +0000 (+0200) Subject: rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68cc3990a545dc0da221b4844dd8b9c06623a6c5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock() Signed-off-by: Thomas Gleixner --- diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index cb1ced6967a..a2e7e7210f3 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c @@ -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");