aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/cfq-iosched.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 0db07d7771b..dee9d9378fe 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -78,11 +78,12 @@ struct cfq_rb_root {
78 struct rb_root rb; 78 struct rb_root rb;
79 struct rb_node *left; 79 struct rb_node *left;
80 unsigned count; 80 unsigned count;
81 unsigned total_weight;
81 u64 min_vdisktime; 82 u64 min_vdisktime;
82 struct rb_node *active; 83 struct rb_node *active;
83 unsigned total_weight;
84}; 84};
85#define CFQ_RB_ROOT (struct cfq_rb_root) { RB_ROOT, NULL, 0, 0, } 85#define CFQ_RB_ROOT (struct cfq_rb_root) { .rb = RB_ROOT, .left = NULL, \
86 .count = 0, .min_vdisktime = 0, }
86 87
87/* 88/*
88 * Per process-grouping structure 89 * Per process-grouping structure