Message ID | 1369259719-23956-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index b8858fb..53628e4 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -790,10 +790,10 @@ int blkcg_activate_policy(struct request_queue *q, if (!blkg) return -ENOMEM; - preloaded = !radix_tree_preload(GFP_KERNEL); - blk_queue_bypass_start(q); + preloaded = !radix_tree_preload(GFP_KERNEL); + /* make sure the root blkg exists and count the existing blkgs */ spin_lock_irq(q->queue_lock);