aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-04 04:06:35 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-12-04 04:06:35 -0500
commitf2eecb91522686edf8199947b77f435a4031d92f (patch)
treee584c9d81971fb741508c176d74ef51ff45a4bcc /block/blk-cgroup.c
parent2f5ea47712489a9d2d3cb832eb06062e4e64e0ec (diff)
cfq-iosched: move IO controller declerations to a header file
They should not be declared inside some other file that's not related to CFQ. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r--block/blk-cgroup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 179ddfaebc5c..73a5525cc0a2 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -14,9 +14,7 @@
14#include <linux/seq_file.h> 14#include <linux/seq_file.h>
15#include <linux/kdev_t.h> 15#include <linux/kdev_t.h>
16#include "blk-cgroup.h" 16#include "blk-cgroup.h"
17 17#include "cfq-iosched.h"
18extern void cfq_unlink_blkio_group(void *, struct blkio_group *);
19extern void cfq_update_blkio_group_weight(struct blkio_group *, unsigned int);
20 18
21struct blkio_cgroup blkio_root_cgroup = { .weight = 2*BLKIO_WEIGHT_DEFAULT }; 19struct blkio_cgroup blkio_root_cgroup = { .weight = 2*BLKIO_WEIGHT_DEFAULT };
22 20