diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-10-05 13:20:24 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-10-05 13:20:24 +0200 |
commit | 68cc3990a545dc0da221b4844dd8b9c06623a6c5 (patch) | |
tree | 9376283f1fb888927681de3848c9186426ba7b19 /kernel/rtmutex-debug.c | |
parent | 0119fee449f501d55924914a90f152540dd4ef9a (diff) | |
download | linux-68cc3990a545dc0da221b4844dd8b9c06623a6c5.tar.bz2 |
rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/rtmutex-debug.c')
-rw-r--r-- | kernel/rtmutex-debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index cb1ced6967ad..a2e7e7210f3e 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"); |