From 0672aa7c236ada6c636e68b2ac2aa135169e6e18 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Fri, 22 Jun 2012 19:42:49 +0200 Subject: 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 Signed-off-by: Pekka Enberg --- mm/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mm/slab.c') diff --git a/mm/slab.c b/mm/slab.c index bb796525315..d95ad4c37f6 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -4533,7 +4533,7 @@ static void show_symbol(struct seq_file *m, unsigned long address) static int leaks_show(struct seq_file *m, void *p) { - struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); + struct kmem_cache *cachep = list_entry(p, struct kmem_cache, list); struct slab *slabp; struct kmem_list3 *l3; const char *name; -- cgit v1.2.3