futex: Use pi_state_update_owner() in put_pi_state()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 20 Jan 2021 10:35:19 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Jan 2021 12:55:17 +0000 (13:55 +0100)
commita597f12e971c3859fdcc503a25008b37a891f043
treefe6556ab7c6301daeea475c4f7bca92f8e0ac7c6
parent6d28ac502f9a0cf30d7ca2eeeefbf8a98c01fe82
futex: Use pi_state_update_owner() in put_pi_state()

commit 6ccc84f917d33312eb2846bd7b567639f585ad6d upstream

No point in open coding it. This way it gains the extra sanity checks.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/futex.c