diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2016-01-07 13:46:36 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2016-01-07 18:56:42 +0100 |
commit | 1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0 (patch) | |
tree | f875b8a19d539701b31ea4ffce40eee77c701103 /tools/thermal/tmon/tmon.h | |
parent | ima: ima_write_policy() limit locking (diff) | |
download | linux-1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0.tar.xz linux-1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0.zip |
KEYS: refcount bug fix
This patch fixes the key_ref leak, removes the unnecessary KEY_FLAG_KEEP
test before setting the flag, and cleans up the if/then brackets style
introduced in commit:
d3600bc KEYS: prevent keys from being removed from specified keyrings
Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'tools/thermal/tmon/tmon.h')
0 files changed, 0 insertions, 0 deletions