slab numa fallback logic: Do not pass unfiltered flags to page allocator

The NUMA fallback logic should be passing local_flags to kmem_get_pages() and not simply the
flags passed in.

Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>

+1 -1
+1 -1
mm/slab.c
··· 3280 3280 if (local_flags & __GFP_WAIT) 3281 3281 local_irq_enable(); 3282 3282 kmem_flagcheck(cache, flags); 3283 - obj = kmem_getpages(cache, flags, -1); 3283 + obj = kmem_getpages(cache, local_flags, -1); 3284 3284 if (local_flags & __GFP_WAIT) 3285 3285 local_irq_disable(); 3286 3286 if (obj) {