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 a4809de6fea6..f36f8b4d04cf 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -2062,7 +2062,7 @@ static int cfq_may_queue(struct request_queue *q, int rw)
2062 if (!cic) 2062 if (!cic)
2063 return ELV_MQUEUE_MAY; 2063 return ELV_MQUEUE_MAY;
2064 2064
2065 cfqq = cic_to_cfqq(cic, rw & REQ_RW_SYNC); 2065 cfqq = cic_to_cfqq(cic, rw_is_sync(rw));
2066 if (cfqq) { 2066 if (cfqq) {
2067 cfq_init_prio_data(cfqq, cic->ioc); 2067 cfq_init_prio_data(cfqq, cic->ioc);
2068 cfq_prio_boost(cfqq); 2068 cfq_prio_boost(cfqq);