diff options
-rw-r--r-- | block/blk-throttle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 97ea7f82477d..b9412d1cea9e 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c | |||
@@ -1176,10 +1176,8 @@ int blk_throtl_init(struct request_queue *q) | |||
1176 | td->root_tg = tg; | 1176 | td->root_tg = tg; |
1177 | 1177 | ||
1178 | rcu_read_lock(); | 1178 | rcu_read_lock(); |
1179 | blkiocg_add_blkio_group(&blkio_root_cgroup, &tg->blkg, (void *)td, | 1179 | throtl_init_add_tg_lists(td, tg, &blkio_root_cgroup); |
1180 | 0, BLKIO_POLICY_THROTL); | ||
1181 | rcu_read_unlock(); | 1180 | rcu_read_unlock(); |
1182 | throtl_add_group_to_td_list(td, tg); | ||
1183 | 1181 | ||
1184 | /* Attach throtl data to request queue */ | 1182 | /* Attach throtl data to request queue */ |
1185 | q->td = td; | 1183 | q->td = td; |