aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/encrypted-keys/masterkey_trusted.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/keys/encrypted-keys/masterkey_trusted.c')
-rw-r--r--security/keys/encrypted-keys/masterkey_trusted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/encrypted-keys/masterkey_trusted.c b/security/keys/encrypted-keys/masterkey_trusted.c
index 8c16c3e472e7..013f7e5d3a2f 100644
--- a/security/keys/encrypted-keys/masterkey_trusted.c
+++ b/security/keys/encrypted-keys/masterkey_trusted.c
@@ -39,7 +39,7 @@ struct key *request_trusted_key(const char *trusted_desc,
39 goto error; 39 goto error;
40 40
41 down_read(&tkey->sem); 41 down_read(&tkey->sem);
42 tpayload = rcu_dereference(tkey->payload.data); 42 tpayload = tkey->payload.data;
43 *master_key = tpayload->key; 43 *master_key = tpayload->key;
44 *master_keylen = tpayload->key_len; 44 *master_keylen = tpayload->key_len;
45error: 45error: