summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 17:05:12 +0100
committerTejun Heo <tj@kernel.org>2013-01-09 17:05:12 +0100
commitb50da39f51139f81b3115d0f9d8632507f802755 (patch)
tree98d8fc862dfa6ad7ed7c9366035eea36a6489d5c /block
parentblkcg: s/blkg_rwstat_sum()/blkg_rwstat_total()/ (diff)
downloadlinux-b50da39f51139f81b3115d0f9d8632507f802755.tar.xz
linux-b50da39f51139f81b3115d0f9d8632507f802755.zip
blkcg: export __blkg_prfill_rwstat()
Hierarchical stats for cfq-iosched will need __blkg_prfill_rwstat(). Export it. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 4d625d28e070..3aec4cdc8968 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -552,6 +552,7 @@ u64 __blkg_prfill_rwstat(struct seq_file *sf, struct blkg_policy_data *pd,
seq_printf(sf, "%s Total %llu\n", dname, (unsigned long long)v);
return v;
}
+EXPORT_SYMBOL_GPL(__blkg_prfill_rwstat);
/**
* blkg_prfill_stat - prfill callback for blkg_stat