aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-ioc.c')
-rw-r--r--block/blk-ioc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 4464c823cff2..46cd7bd18b34 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -367,7 +367,7 @@ struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q,
367 if (!icq) 367 if (!icq)
368 return NULL; 368 return NULL;
369 369
370 if (radix_tree_preload(gfp_mask) < 0) { 370 if (radix_tree_maybe_preload(gfp_mask) < 0) {
371 kmem_cache_free(et->icq_cache, icq); 371 kmem_cache_free(et->icq_cache, icq);
372 return NULL; 372 return NULL;
373 } 373 }