futex: correctly return -EFAULT not -EINVAL
authorThomas Gleixner <tglx@linutronix.de>
Wed, 5 Dec 2007 14:46:09 +0000 (15:46 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Dec 2007 14:46:09 +0000 (15:46 +0100)
commitcde898fa80a45bb23eab2a060fc79d0913081409
treebe72916afee134f9b81b0162ae20db1b009e9762
parent54561783ee99d73a086f3abbda3e44f87f6bf65b
futex: correctly return -EFAULT not -EINVAL

return -EFAULT not -EINVAL. Found by review.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c