Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286079
b: refs/heads/master
c: 6ac6172
h: refs/heads/master
i:
  286077: 7b50713
  286075: f75dbe8
  286071: 61932c9
  286063: 873641b
  286047: e576952
  286015: 17fe31d
  285951: 010a208
v: v3
  • Loading branch information
Mimi Zohar authored and James Morris committed Jan 17, 2012
1 parent 512a128 commit 66f6503
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee0b31a25a010116f44fca6c96f4516d417793dd
refs/heads/master: 6ac6172a935d1faf7ef259802267657bc0007a62
2 changes: 1 addition & 1 deletion trunk/security/keys/encrypted-keys/encrypted.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static struct key *request_user_key(const char *master_desc, u8 **master_key,
goto error;

down_read(&ukey->sem);
upayload = rcu_dereference(ukey->payload.data);
upayload = ukey->payload.data;
*master_key = upayload->data;
*master_keylen = upayload->datalen;
error:
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/keys/encrypted-keys/masterkey_trusted.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct key *request_trusted_key(const char *trusted_desc,
goto error;

down_read(&tkey->sem);
tpayload = rcu_dereference(tkey->payload.data);
tpayload = tkey->payload.data;
*master_key = tpayload->key;
*master_keylen = tpayload->key_len;
error:
Expand Down

0 comments on commit 66f6503

Please sign in to comment.