Fix install_process_keyring error handling
authorAndi Kleen <ak@linux.intel.com>
Thu, 28 Oct 2010 12:16:13 +0000 (13:16 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 16:02:15 +0000 (09:02 -0700)
commit27d6379894be4a81984da4d48002196a83939ca9
tree1d5a7338b0fc66ba4c0b799eb60df44b8f0fc08a
parent765aaafe38050790301e89745b991dbdf3dded4c
Fix install_process_keyring error handling

Fix an incorrect error check that returns 1 for error instead of the
expected error code.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/keys/process_keys.c