diff options
Diffstat (limited to 'security/keys/request_key_auth.c')
-rw-r--r-- | security/keys/request_key_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 6bbe2f535f08..0f062156dfb2 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -213,7 +213,7 @@ struct key *request_key_auth_new(struct key *target, const void *callout_info, | |||
213 | if (ret < 0) | 213 | if (ret < 0) |
214 | goto error_inst; | 214 | goto error_inst; |
215 | 215 | ||
216 | kleave(" = {%d,%d}", authkey->serial, atomic_read(&authkey->usage)); | 216 | kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage)); |
217 | return authkey; | 217 | return authkey; |
218 | 218 | ||
219 | auth_key_revoked: | 219 | auth_key_revoked: |