aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/cfq-iosched.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 4c4e9cc3ae26..84b75f88c279 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1388,10 +1388,9 @@ static inline void changed_ioprio(struct cfq_io_context *cic)
1388 } 1388 }
1389 } 1389 }
1390 cfqq = cic->cfqq[SYNC]; 1390 cfqq = cic->cfqq[SYNC];
1391 if (cfqq) { 1391 if (cfqq)
1392 cfq_mark_cfqq_prio_changed(cfqq); 1392 cfq_mark_cfqq_prio_changed(cfqq);
1393 cfq_init_prio_data(cfqq); 1393
1394 }
1395 spin_unlock(cfqd->queue->queue_lock); 1394 spin_unlock(cfqd->queue->queue_lock);
1396 } 1395 }
1397} 1396}