futex: Use pi_state_update_owner() in put_pi_state()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 3 Feb 2021 13:45:37 +0000 (13:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:09:24 +0000 (09:09 +0100)
commit7d455bb66ae87ea11af3630cb546d74c35fb6b7e
tree946e2279d6765f7c1214ed2bfb460e6afeb6034c
parent285b624ec7818a43b96568a45ed7844a78eccd97
futex: Use pi_state_update_owner() in put_pi_state()

[ Upstream commit 6ccc84f917d33312eb2846bd7b567639f585ad6d ]

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/futex.c