Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5649
b: refs/heads/master
c: 94efe72
h: refs/heads/master
i:
  5647: 9de3f90
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Aug 4, 2005
1 parent ef71d40 commit 2311c3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: bcf945d36fa0598f41ac4ad46a9dc43135460263
refs/heads/master: 94efe72f762e2c147d8146d637d5ece5614c8d94
6 changes: 5 additions & 1 deletion trunk/security/keys/keyring.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ static void keyring_destroy(struct key *keyring)

if (keyring->description) {
write_lock(&keyring_name_lock);
list_del(&keyring->type_data.link);

if (keyring->type_data.link.next != NULL &&
!list_empty(&keyring->type_data.link))
list_del(&keyring->type_data.link);

write_unlock(&keyring_name_lock);
}

Expand Down

0 comments on commit 2311c3a

Please sign in to comment.