diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-06-22 13:42:49 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-07-02 06:42:18 -0400 |
commit | 0672aa7c236ada6c636e68b2ac2aa135169e6e18 (patch) | |
tree | 4a850fc42f70b4d7cc322af2deb7f97fc1ed1955 /mm/slab.c | |
parent | a618e89f1e6fb3cdfc8ef0ad54a0d57830bf8881 (diff) |
mm, slab: Build fix for recent kmem_cache changes
Commit 3b0efdf ("mm, sl[aou]b: Extract common fields from struct
kmem_cache") renamed the kmem_cache structure's "next" field to "list"
but forgot to update one instance in leaks_show().
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4533,7 +4533,7 @@ static void show_symbol(struct seq_file *m, unsigned long address) | |||
4533 | 4533 | ||
4534 | static int leaks_show(struct seq_file *m, void *p) | 4534 | static int leaks_show(struct seq_file *m, void *p) |
4535 | { | 4535 | { |
4536 | struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); | 4536 | struct kmem_cache *cachep = list_entry(p, struct kmem_cache, list); |
4537 | struct slab *slabp; | 4537 | struct slab *slabp; |
4538 | struct kmem_list3 *l3; | 4538 | struct kmem_list3 *l3; |
4539 | const char *name; | 4539 | const char *name; |