Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2359
b: refs/heads/master
c: 0293a50
h: refs/heads/master
i:
  2357: 024c012
  2355: 994a6a7
  2351: adddd58
v: v3
  • Loading branch information
mochel@digitalimplant.org authored and Greg Kroah-Hartman committed Jun 20, 2005
1 parent 4b6dd2d commit 6fd751d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 0956af53afea290c5676c75249fc2c180d831375
refs/heads/master: 0293a509405dccecc30783a5d729d615b68d6a77
5 changes: 3 additions & 2 deletions trunk/lib/klist.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ EXPORT_SYMBOL_GPL(klist_del);

void klist_remove(struct klist_node * n)
{
spin_lock(&n->n_klist->k_lock);
struct klist * k = n->n_klist;
spin_lock(&k->k_lock);
klist_dec_and_del(n);
spin_unlock(&n->n_klist->k_lock);
spin_unlock(&k->k_lock);
wait_for_completion(&n->n_removed);
}

Expand Down

0 comments on commit 6fd751d

Please sign in to comment.