[PATCH] slab: remove SLAB_KERNEL
[linux-block.git] / security / keys / key.c
index 70eacbe5abde215e61d1eb74c95bd89f7133a2ba..157bac658bf9bad10f1ea24023d49d5083867fa4 100644 (file)
@@ -285,7 +285,7 @@ struct key *key_alloc(struct key_type *type, const char *desc,
        }
 
        /* allocate and initialise the key and its description */
-       key = kmem_cache_alloc(key_jar, SLAB_KERNEL);
+       key = kmem_cache_alloc(key_jar, GFP_KERNEL);
        if (!key)
                goto no_memory_2;