diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-18 23:55:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-19 00:49:18 +0200 |
commit | dd165eb3bb4ef16bcdb75417add40633f38c52b8 (patch) | |
tree | a22ac531f2e8e95401ded9fbd34bbcf5a5cee834 /block/blk-cgroup.c | |
parent | blkcg: separate out tg_conf_updated() from tg_set_conf() (diff) | |
download | linux-dd165eb3bb4ef16bcdb75417add40633f38c52b8.tar.xz linux-dd165eb3bb4ef16bcdb75417add40633f38c52b8.zip |
blkcg: misc preparations for unified hierarchy interface
* Export blkg_dev_name()
* Drop unnecessary @cft from __cfq_set_weight().
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 8ee1ca4d4f2f..b5e72d756be1 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -462,13 +462,14 @@ static int blkcg_reset_stats(struct cgroup_subsys_state *css, return 0; } -static const char *blkg_dev_name(struct blkcg_gq *blkg) +const char *blkg_dev_name(struct blkcg_gq *blkg) { /* some drivers (floppy) instantiate a queue w/o disk registered */ if (blkg->q->backing_dev_info.dev) return dev_name(blkg->q->backing_dev_info.dev); return NULL; } +EXPORT_SYMBOL_GPL(blkg_dev_name); /** * blkcg_print_blkgs - helper for printing per-blkg data |