futex: Cleanup refcounting
authorPeter Zijlstra <peterz@infradead.org>
Wed, 22 Mar 2017 10:35:53 +0000 (11:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 Mar 2017 18:10:08 +0000 (19:10 +0100)
commitbf92cf3a5100f5a0d5f9834787b130159397cb22
tree8e8fd423f7cd2c6c4d847d24114a021b53fd0160
parent734009e96d1983ad739e5b656e03430b3660c913
futex: Cleanup refcounting

Add a put_pit_state() as counterpart for get_pi_state() so the refcounting
becomes consistent.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: juri.lelli@arm.com
Cc: bigeasy@linutronix.de
Cc: xlpang@redhat.com
Cc: rostedt@goodmis.org
Cc: mathieu.desnoyers@efficios.com
Cc: jdesfossez@efficios.com
Cc: dvhart@infradead.org
Cc: bristot@redhat.com
Link: http://lkml.kernel.org/r/20170322104151.801778516@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c