diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:45 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:45 -0700 |
commit | 5bc4afb1ec6aa562fac4d9aba34d957ee42f5813 (patch) | |
tree | dfef1de2dcb71beab3150ffecf6ae564d326ffba /init | |
parent | d366e7ec41882791c970dfb7c67b737be8c3a174 (diff) | |
download | blackbird-op-linux-5bc4afb1ec6aa562fac4d9aba34d957ee42f5813.tar.gz blackbird-op-linux-5bc4afb1ec6aa562fac4d9aba34d957ee42f5813.zip |
blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macros
Now that all stat handling code lives in policy implementations,
there's no need to encode policy ID in cft->private.
* Export blkcg_prfill_[rw]stat() from blkcg, remove
blkcg_print_[rw]stat(), and implement cfqg_print_[rw]stat() which
use hard-code BLKIO_POLICY_PROP.
* Use cft->private for offset of the target field directly and drop
BLKCG_STAT_{PRIV|POL|OFF}().
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions