summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cachefiles/key.c')
-rw-r--r--fs/cachefiles/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/key.c b/fs/cachefiles/key.c
index 81b8b2b..33b58c6 100644
--- a/fs/cachefiles/key.c
+++ b/fs/cachefiles/key.c
@@ -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;
OpenPOWER on IntegriCloud