aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyring.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/keys/keyring.c')
-rw-r--r--security/keys/keyring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index ce7c44b857d0..2fb2bc9712ae 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -199,7 +199,7 @@ static long keyring_read(const struct key *keyring,
199 int loop, ret; 199 int loop, ret;
200 200
201 ret = 0; 201 ret = 0;
202 klist = rcu_dereference(keyring->payload.subscriptions); 202 klist = keyring->payload.subscriptions;
203 203
204 if (klist) { 204 if (klist) {
205 /* calculate how much data we could return */ 205 /* calculate how much data we could return */