summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2009-12-04 10:36:41 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-12-04 16:38:14 +0100
commit9d6a986c0b276085f7944cd8ad65f4f82aff7536 (patch)
tree1e72c813f4346ee329d5d427e214d183af78934f /block/blk-cgroup.h
parentb69f2292063d2caf37ca9aec7d63ded203701bf3 (diff)
downloadop-kernel-dev-9d6a986c0b276085f7944cd8ad65f4f82aff7536.zip
op-kernel-dev-9d6a986c0b276085f7944cd8ad65f4f82aff7536.tar.gz
blkio: Export some symbols from blkio as its user CFQ can be a module
o blkio controller is inside the kernel and cfq makes use of interfaces exported by blkio. CFQ can be a module too, hence export symbols used by CFQ. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index 257dc6a..4f89b96 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -43,6 +43,9 @@ struct blkio_group {
unsigned long sectors;
};
+extern bool blkiocg_css_tryget(struct blkio_cgroup *blkcg);
+extern void blkiocg_css_put(struct blkio_cgroup *blkcg);
+
#else
struct blkio_group {
OpenPOWER on IntegriCloud