]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - block/blk-cgroup.h
blkcg: pass around pd->pdata instead of pd itself in prfill functions
[karo-tx-linux.git] / block / blk-cgroup.h
index a77ab1ac53a75db160ee501591814f413905f158..c930895bfac9e05c2c16446c783d85307d98b353 100644 (file)
@@ -126,10 +126,10 @@ extern void update_root_blkg_pd(struct request_queue *q,
                                enum blkio_policy_id plid);
 
 void blkcg_print_blkgs(struct seq_file *sf, struct blkio_cgroup *blkcg,
-                      u64 (*prfill)(struct seq_file *, struct blkg_policy_data *, int),
+                      u64 (*prfill)(struct seq_file *, void *, int),
                       int pol, int data, bool show_total);
-u64 __blkg_prfill_u64(struct seq_file *sf, struct blkg_policy_data *pd, u64 v);
-u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
+u64 __blkg_prfill_u64(struct seq_file *sf, void *pdata, u64 v);
+u64 __blkg_prfill_rwstat(struct seq_file *sf, void *pdata,
                         const struct blkg_rwstat *rwstat);
 int blkcg_print_stat(struct cgroup *cgrp, struct cftype *cft,
                     struct seq_file *sf);