aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab_common.c')
-rw-r--r--mm/slab_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index e2e98af703ea..0b7bb399b0e4 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -571,7 +571,7 @@ memcg_accumulate_slabinfo(struct kmem_cache *s, struct slabinfo *info)
571 return; 571 return;
572 572
573 for_each_memcg_cache_index(i) { 573 for_each_memcg_cache_index(i) {
574 c = cache_from_memcg(s, i); 574 c = cache_from_memcg_idx(s, i);
575 if (!c) 575 if (!c)
576 continue; 576 continue;
577 577