Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264506
b: refs/heads/master
c: 6d528b0
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and James Morris committed Aug 22, 2011
1 parent b73a5b7 commit 4c7a325
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3ecf1b4f347210e39b156177e5b8a26ff8d00279
refs/heads/master: 6d528b082294f0ddabd6368297546a2c0b67d4fe
3 changes: 1 addition & 2 deletions trunk/security/keys/keyring.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,7 @@ void __key_link(struct key *keyring, struct key *key,

kenter("%d,%d,%p", keyring->serial, key->serial, nklist);

klist = rcu_dereference_protected(keyring->payload.subscriptions,
rwsem_is_locked(&keyring->sem));
klist = rcu_dereference_locked_keyring(keyring);

atomic_inc(&key->usage);

Expand Down

0 comments on commit 4c7a325

Please sign in to comment.