aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fscache')
-rw-r--r--fs/fscache/cookie.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/fscache/cookie.c b/fs/fscache/cookie.c
index b1870a6c2cd3..e6854f5222f5 100644
--- a/fs/fscache/cookie.c
+++ b/fs/fscache/cookie.c
@@ -102,7 +102,9 @@ struct fscache_cookie *__fscache_acquire_cookie(
102 cookie->netfs_data = netfs_data; 102 cookie->netfs_data = netfs_data;
103 cookie->flags = 0; 103 cookie->flags = 0;
104 104
105 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS); 105 /* radix tree insertion won't use the preallocation pool unless it's
106 * told it may not wait */
107 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_WAIT);
106 108
107 switch (cookie->def->type) { 109 switch (cookie->def->type) {
108 case FSCACHE_COOKIE_TYPE_INDEX: 110 case FSCACHE_COOKIE_TYPE_INDEX: