fs/proc: Stop trying to report thread stacks
[cascardo/linux.git] / fs / cachefiles / key.c
index 81b8b2b..33b58c6 100644 (file)
@@ -78,7 +78,7 @@ char *cachefiles_cook_key(const u8 *raw, int keylen, uint8_t type)
 
        _debug("max: %d", max);
 
-       key = kmalloc(max, GFP_KERNEL);
+       key = kmalloc(max, cachefiles_gfp);
        if (!key)
                return NULL;