FUTEX: Restore the dropped ERSCH fix
authorThomas Gleixner <tglx@linutronix.de>
Sat, 23 Jun 2007 09:48:40 +0000 (11:48 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Jun 2007 19:08:53 +0000 (12:08 -0700)
commita06381fec77bf88ec6c5eb6324457cb04e9ffd69
tree0762df31cf5e20cc52705cf7960b065922eeb1f3
parentb2510b1696730307e7a388ea04132236ab45ac20
FUTEX: Restore the dropped ERSCH fix

The return value of futex_find_get_task() needs to be -ESRCH in case
that the search fails.  This was part of the original futex fixes and
got accidentally dropped, when the futex-tidy-up patch was split out.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Stable Team <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/futex.c