Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108186
b: refs/heads/master
c: 8bfe029
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Ingo Molnar committed Aug 11, 2008
1 parent 7bd6303 commit 84c6e4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cd5a02f54f4c9d16cf7fdffa2122bc73bb09b43
refs/heads/master: 8bfe0298f7a04952d19f4a2cf510d7a6311eeed0
1 change: 1 addition & 0 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -3176,6 +3176,7 @@ static void zap_class(struct lock_class *class)
list_del_rcu(&class->hash_entry);
list_del_rcu(&class->lock_entry);

class->key = NULL;
}

static inline int within(const void *addr, void *start, unsigned long size)
Expand Down
3 changes: 3 additions & 0 deletions trunk/kernel/lockdep_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ static int lc_show(struct seq_file *m, void *v)

for (i = 0; i < chain->depth; i++) {
class = lock_chain_get_class(chain, i);
if (!class->key)
continue;

seq_printf(m, "[%p] ", class->key);
print_name(m, class);
seq_puts(m, "\n");
Expand Down

0 comments on commit 84c6e4a

Please sign in to comment.