Commit f2eecb91 authored by Jens Axboe's avatar Jens Axboe

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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 2f5ea477
......@@ -14,9 +14,7 @@
#include <linux/seq_file.h>
#include <linux/kdev_t.h>
#include "blk-cgroup.h"
extern void cfq_unlink_blkio_group(void *, struct blkio_group *);
extern void cfq_update_blkio_group_weight(struct blkio_group *, unsigned int);
#include "cfq-iosched.h"
struct blkio_cgroup blkio_root_cgroup = { .weight = 2*BLKIO_WEIGHT_DEFAULT };
......
......@@ -14,6 +14,7 @@
#include <linux/ioprio.h>
#include <linux/blktrace_api.h>
#include "blk-cgroup.h"
#include "cfq-iosched.h"
/*
* tunables
......
#ifndef CFQ_IOSCHED_H
#define CFQ_IOSCHED_H
void cfq_unlink_blkio_group(void *, struct blkio_group *);
void cfq_update_blkio_group_weight(struct blkio_group *, unsigned int);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment