diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 17:38:44 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 17:38:44 -0400 |
commit | d366e7ec41882791c970dfb7c67b737be8c3a174 (patch) | |
tree | 78d3c73d90276b797e1553c004272af869a30075 /block/blk-cgroup.h | |
parent | af133ceb261033eb43c03d161a991c3b772e8c56 (diff) |
blkcg: pass around pd->pdata instead of pd itself in prfill functions
Now that all conf and stat fields are moved into policy specific
blkio_policy_data->pdata areas, there's no reason to use
blkio_policy_data itself in prfill functions. Pass around @pd->pdata
instead of @pd.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index a77ab1ac53a7..c930895bfac9 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -126,10 +126,10 @@ extern void update_root_blkg_pd(struct request_queue *q, | |||
126 | enum blkio_policy_id plid); | 126 | enum blkio_policy_id plid); |
127 | 127 | ||
128 | void blkcg_print_blkgs(struct seq_file *sf, struct blkio_cgroup *blkcg, | 128 | void blkcg_print_blkgs(struct seq_file *sf, struct blkio_cgroup *blkcg, |
129 | u64 (*prfill)(struct seq_file *, struct blkg_policy_data *, int), | 129 | u64 (*prfill)(struct seq_file *, void *, int), |
130 | int pol, int data, bool show_total); | 130 | int pol, int data, bool show_total); |
131 | u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v); | 131 | u64 __blkg_prfill_u64(struct seq_file *sf, void *pdata, u64 v); |
132 | u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd, | 132 | u64 __blkg_prfill_rwstat(struct seq_file *sf, void *pdata, |
133 | const struct blkg_rwstat *rwstat); | 133 | const struct blkg_rwstat *rwstat); |
134 | int blkcg_print_stat(struct cgroup *cgrp, struct cftype *cft, | 134 | int blkcg_print_stat(struct cgroup *cgrp, struct cftype *cft, |
135 | struct seq_file *sf); | 135 | struct seq_file *sf); |