|
@@ -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)
|
|
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 slab *slabp;
|
|
struct kmem_list3 *l3;
|
|
struct kmem_list3 *l3;
|
|
const char *name;
|
|
const char *name;
|