blkcg: collapse blkcg_policy_ops into blkcg_policy
[linux-2.6-block.git] / block / blk-throttle.c
index 6a0a17a8386209cdbb65b8f137a2bd99a73973a8..46310ec93d1c10a3d75f7300f03fba49b185ca2c 100644 (file)
@@ -1100,13 +1100,12 @@ static void throtl_shutdown_wq(struct request_queue *q)
 }
 
 static struct blkcg_policy blkcg_policy_throtl = {
-       .ops = {
-               .pd_init_fn             = throtl_pd_init,
-               .pd_exit_fn             = throtl_pd_exit,
-               .pd_reset_stats_fn      = throtl_pd_reset_stats,
-       },
-       .pd_size = sizeof(struct throtl_grp),
-       .cftypes = throtl_files,
+       .pd_size                = sizeof(struct throtl_grp),
+       .cftypes                = throtl_files,
+
+       .pd_init_fn             = throtl_pd_init,
+       .pd_exit_fn             = throtl_pd_exit,
+       .pd_reset_stats_fn      = throtl_pd_reset_stats,
 };
 
 bool blk_throtl_bio(struct request_queue *q, struct bio *bio)