aboutsummaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-04-16 16:57:27 -0400
committerJens Axboe <axboe@kernel.dk>2012-04-20 04:06:17 -0400
commitf9fcc2d3919b8eb575b3cee9274feefafb641bca (patch)
treebb3eaeb993b21ba352c0967488a6955a40314d97 /block/cfq-iosched.c
parentf95a04afa80c0f4ddd645ef6a84ed118b5d1ad46 (diff)
blkcg: collapse blkcg_policy_ops into blkcg_policy
There's no reason to keep blkcg_policy_ops separate. Collapse it into blkcg_policy. This patch doesn't introduce any functional change. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r--block/cfq-iosched.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 7865cc38ea77..832b2ac8cb8d 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -4165,12 +4165,11 @@ static struct elevator_type iosched_cfq = {
4165 4165
4166#ifdef CONFIG_CFQ_GROUP_IOSCHED 4166#ifdef CONFIG_CFQ_GROUP_IOSCHED
4167static struct blkcg_policy blkcg_policy_cfq = { 4167static struct blkcg_policy blkcg_policy_cfq = {
4168 .ops = { 4168 .pd_size = sizeof(struct cfq_group),
4169 .pd_init_fn = cfq_pd_init, 4169 .cftypes = cfq_blkcg_files,
4170 .pd_reset_stats_fn = cfq_pd_reset_stats, 4170
4171 }, 4171 .pd_init_fn = cfq_pd_init,
4172 .pd_size = sizeof(struct cfq_group), 4172 .pd_reset_stats_fn = cfq_pd_reset_stats,
4173 .cftypes = cfq_blkcg_files,
4174}; 4173};
4175#endif 4174#endif
4176 4175