aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 910df6326831..a98f8db93670 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3289,6 +3289,7 @@ static void *____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags,
3289 void *obj; 3289 void *obj;
3290 int x; 3290 int x;
3291 3291
3292 VM_BUG_ON(nodeid > num_online_nodes());
3292 n = cachep->node[nodeid]; 3293 n = cachep->node[nodeid];
3293 BUG_ON(!n); 3294 BUG_ON(!n);
3294 3295