diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-17 14:42:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-05 11:16:16 -0700 |
commit | dde8dafc185bc593aad762dc05afbf6b43ba5e18 (patch) | |
tree | 3bc616e015de4fd9d4ca9329b66085cc92614668 /security/keys/keyring.c | |
parent | 913fd105f7ff3c7439f5b67fd10bf83077e2fe1a (diff) | |
download | kernel-common-dde8dafc185bc593aad762dc05afbf6b43ba5e18.tar.gz kernel-common-dde8dafc185bc593aad762dc05afbf6b43ba5e18.tar.bz2 kernel-common-dde8dafc185bc593aad762dc05afbf6b43ba5e18.zip |
KEYS: Return more accurate error codes
commit 4d09ec0f705cf88a12add029c058b53f288cfaa2 upstream.
We were using the wrong variable here so the error codes weren't being returned
properly. The original code returns -ENOKEY.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security/keys/keyring.c')
0 files changed, 0 insertions, 0 deletions