From: Tejun Heo Date: Sun, 1 Apr 2012 21:38:45 +0000 (-0700) Subject: blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macros X-Git-Tag: v3.5-rc1~42^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc4afb1ec6aa562fac4d9aba34d957ee42f5813;p=pandora-kernel.git 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 --- Reading git-diff-tree failed