summaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-09-15 07:17:40 +0200
committerGreg Kroah-Hartman2014-09-15 07:17:40 +0200
commit882ebfc28c389be86535bda4a7d9e407020356bf (patch)
treee8f3ddeda13196f40040f3ba4701ece5d38c63cc /kernel/futex.c
parentmips/uapi: Add definition of TIOC[SG]RS485 (diff)
parentLinux 3.17-rc5 (diff)
downloadkernel-qcow2-linux-882ebfc28c389be86535bda4a7d9e407020356bf.tar.gz
kernel-qcow2-linux-882ebfc28c389be86535bda4a7d9e407020356bf.tar.xz
kernel-qcow2-linux-882ebfc28c389be86535bda4a7d9e407020356bf.zip
Merge 3.17-rc5 into tty-next
We want those fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index d3a9d946d0b7..815d7af2ffe8 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2592,6 +2592,7 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags,
* shared futexes. We need to compare the keys:
*/
if (match_futex(&q.key, &key2)) {
+ queue_unlock(hb);
ret = -EINVAL;
goto out_put_keys;
}