summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-10-19 14:31:18 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-19 14:31:18 +0200
commitbc9fcbf9cb8ec76d340da16fbf48a9a316e14c52 (patch)
tree89376b8811a0d440328dc4f31ef062c811db1cc1 /block/blk-throttle.c
parentece84241b93c4693bfe0a8ec9a043a16d216d0cd (diff)
downloadop-kernel-dev-bc9fcbf9cb8ec76d340da16fbf48a9a316e14c52.zip
op-kernel-dev-bc9fcbf9cb8ec76d340da16fbf48a9a316e14c52.tar.gz
block: move blk_throtl prototypes to block/blk.h
blk_throtl interface is block internal and there's no reason to have them in linux/blkdev.h. Move them to block/blk.h. This patch doesn't introduce any functional change. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r--block/blk-throttle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index a19f58c..f3f495e 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -10,6 +10,7 @@
#include <linux/bio.h>
#include <linux/blktrace_api.h>
#include "blk-cgroup.h"
+#include "blk.h"
/* Max dispatch from a group in 1 round */
static int throtl_grp_quantum = 8;
OpenPOWER on IntegriCloud