aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/cfq-iosched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 859f534ae9ef..aa00d8f2d0b0 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -393,8 +393,8 @@ cfq_prio_to_slice(struct cfq_data *cfqd, struct cfq_queue *cfqq)
393 * to quickly follows sudden increases and decrease slowly 393 * to quickly follows sudden increases and decrease slowly
394 */ 394 */
395 395
396static inline unsigned 396static inline unsigned cfq_get_avg_queues(struct cfq_data *cfqd, bool rt)
397cfq_get_avg_queues(struct cfq_data *cfqd, bool rt) { 397{
398 unsigned min_q, max_q; 398 unsigned min_q, max_q;
399 unsigned mult = cfq_hist_divisor - 1; 399 unsigned mult = cfq_hist_divisor - 1;
400 unsigned round = cfq_hist_divisor / 2; 400 unsigned round = cfq_hist_divisor / 2;