aboutsummaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r--block/cfq-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 3b07ce168780..5f7e4d161404 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -3012,7 +3012,7 @@ static int cfq_create_cic(struct cfq_data *cfqd, gfp_t gfp_mask)
3012 might_sleep_if(gfp_mask & __GFP_WAIT); 3012 might_sleep_if(gfp_mask & __GFP_WAIT);
3013 3013
3014 /* allocate stuff */ 3014 /* allocate stuff */
3015 ioc = current_io_context(gfp_mask, q->node); 3015 ioc = create_io_context(current, gfp_mask, q->node);
3016 if (!ioc) 3016 if (!ioc)
3017 goto out; 3017 goto out;
3018 3018