diff --git a/mm/slab.c b/mm/slab.c index bde271c001ba33ef1f61dd0f563f74d319cd1f0e..a684778b2b41af38e06aa47e5fe66a7a988ad4c7 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -2776,7 +2776,7 @@ static int cache_grow(struct kmem_cache *cachep, * 'nodeid'. */ if (!objp) - objp = kmem_getpages(cachep, flags, nodeid); + objp = kmem_getpages(cachep, local_flags, nodeid); if (!objp) goto failed;