]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
futex: Use pi_state_update_owner() in put_pi_state()
authorLee Jones <lee.jones@linaro.org>
Thu, 4 Feb 2021 17:29:01 +0000 (17:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:07:26 +0000 (09:07 +0100)
commitf08a4af5ccb2a907a225dfd3d882656e5473da4a
tree8d1c998acad80f3d97b85356ddb82aebdbfc2b67
parent42255927e832f9c1ed8db4e84530bc6a54aa2fee
futex: Use pi_state_update_owner() in put_pi_state()

From: Thomas Gleixner <tglx@linutronix.de>

[ 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