futex: make futex_(get|put)_key() calls symmetric
authorDarren Hart <dvhltc@us.ibm.com>
Mon, 29 Dec 2008 23:49:53 +0000 (15:49 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Dec 2008 05:38:15 +0000 (06:38 +0100)
Impact: cleanup

This patch makes the calls to futex_get_key_refs() and futex_drop_key_refs()
explicitly symmetric by only "putting" keys we successfully "got".  Also
cleanup a couple return points that didn't "put" after a successful "get".

Build and boot tested on an x86_64 system.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found