Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323548
b: refs/heads/master
c: 58fac09
h: refs/heads/master
v: v3
  • Loading branch information
Michael Wang authored and Paul E. McKenney committed Sep 23, 2012
1 parent d3fc6ef commit 9eca53b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 803b0ebae921714d1c36f0996db8125eda5fae53
refs/heads/master: 58fac09566bb48592a09ef0fe0c7dbefa0cd2109
6 changes: 2 additions & 4 deletions trunk/mm/kmemleak.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,13 +1483,11 @@ static void *kmemleak_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
struct kmemleak_object *prev_obj = v;
struct kmemleak_object *next_obj = NULL;
struct list_head *n = &prev_obj->object_list;
struct kmemleak_object *obj = prev_obj;

++(*pos);

list_for_each_continue_rcu(n, &object_list) {
struct kmemleak_object *obj =
list_entry(n, struct kmemleak_object, object_list);
list_for_each_entry_continue_rcu(obj, &object_list, object_list) {
if (get_object(obj)) {
next_obj = obj;
break;
Expand Down

0 comments on commit 9eca53b

Please sign in to comment.