diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2641,7 +2641,7 @@ static noinline struct kmem_cache *dma_kmalloc_cache(int index, gfp_t flags) | |||
2641 | if (slab_state >= SYSFS) | 2641 | if (slab_state >= SYSFS) |
2642 | slabflags |= __SYSFS_ADD_DEFERRED; | 2642 | slabflags |= __SYSFS_ADD_DEFERRED; |
2643 | 2643 | ||
2644 | if (!s || !text || !kmem_cache_open(s, flags, text, | 2644 | if (!text || !kmem_cache_open(s, flags, text, |
2645 | realsize, ARCH_KMALLOC_MINALIGN, slabflags, NULL)) { | 2645 | realsize, ARCH_KMALLOC_MINALIGN, slabflags, NULL)) { |
2646 | s->size = 0; | 2646 | s->size = 0; |
2647 | kfree(text); | 2647 | kfree(text); |