aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r--block/blk-cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index b2b9837f9dd3..e8918ffaf96d 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -972,10 +972,10 @@ int blkcg_activate_policy(struct request_queue *q,
972 if (!new_blkg) 972 if (!new_blkg)
973 return -ENOMEM; 973 return -ENOMEM;
974 974
975 preloaded = !radix_tree_preload(GFP_KERNEL);
976
977 blk_queue_bypass_start(q); 975 blk_queue_bypass_start(q);
978 976
977 preloaded = !radix_tree_preload(GFP_KERNEL);
978
979 /* 979 /*
980 * Make sure the root blkg exists and count the existing blkgs. As 980 * Make sure the root blkg exists and count the existing blkgs. As
981 * @q is bypassing at this point, blkg_lookup_create() can't be 981 * @q is bypassing at this point, blkg_lookup_create() can't be