Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132175
b: refs/heads/master
c: 1b23336
h: refs/heads/master
i:
  132173: 70b4a67
  132171: b035c6a
  132167: 4a3abc6
  132159: 09f476f
v: v3
  • Loading branch information
Paul E. McKenney authored and Linus Torvalds committed Mar 10, 2009
1 parent 1dd991b commit 8c148ba
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 260219cc48cfb22486e5d0d706c978228a080d63
refs/heads/master: 1b23336ad98b3666c216617227c7767cd60a22be
2 changes: 1 addition & 1 deletion trunk/lib/idr.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ void idr_remove_all(struct idr *idp)

n = idp->layers * IDR_BITS;
p = idp->top;
rcu_assign_pointer(idp->top, NULL);
max = 1 << n;

id = 0;
Expand All @@ -467,7 +468,6 @@ void idr_remove_all(struct idr *idp)
p = *--paa;
}
}
rcu_assign_pointer(idp->top, NULL);
idp->layers = 0;
}
EXPORT_SYMBOL(idr_remove_all);
Expand Down

0 comments on commit 8c148ba

Please sign in to comment.