Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68cc3990 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()

parent 0119fee4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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");