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

index cb1ced6967ad539508db0c6a0b732b9c23ff89cc..a2e7e7210f3e733b8b427b762b224a4c380e9ae6 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");