diff options
author | Darren Hart <dvhltc@us.ibm.com> | 2008-12-30 00:49:53 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-30 06:38:15 +0100 |
commit | 42d35d48ce7cefb9429880af19d1c329d1554e7a (patch) | |
tree | a8c73b7ffd1e481e3b5152e3142c9feb5f7464a1 /sound/pci/hda/hda_generic.c | |
parent | futex: clean up futex_(un)lock_pi fault handling (diff) | |
download | linux-42d35d48ce7cefb9429880af19d1c329d1554e7a.tar.xz linux-42d35d48ce7cefb9429880af19d1c329d1554e7a.zip |
futex: make futex_(get|put)_key() calls symmetric
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>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
0 files changed, 0 insertions, 0 deletions