rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()
Thomas Gleixner [Wed, 5 Oct 2011 11:20:24 +0000 (13:20 +0200)]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

kernel/rtmutex-debug.c

index cb1ced6..a2e7e72 100644 (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");