summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-04 11:23:45 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-03-04 11:28:29 +0100
commitff88972c850ced92b9c4c7f538d85829c741eeb0 (patch)
treee7cfb7e15db26f35da6e982b934417f3909017a6 /block/blk.h
parent278caf0120a77e4398762357a8cc522d094fe2f2 (diff)
downloadlinux-stable-ff88972c850ced92b9c4c7f538d85829c741eeb0.tar.gz
linux-stable-ff88972c850ced92b9c4c7f538d85829c741eeb0.tar.bz2
linux-stable-ff88972c850ced92b9c4c7f538d85829c741eeb0.zip
proper prototype for blk_dev_init()
This patch adds a proper prototye for blk_dev_init() in block/blk.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk.h')
-rw-r--r--block/blk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h
index ec898dd0c65c..ec9120fb789a 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -32,6 +32,8 @@ void blk_recalc_rq_sectors(struct request *rq, int nsect);
void blk_queue_congestion_threshold(struct request_queue *q);
+int blk_dev_init(void);
+
/*
* Return the threshold (number of used requests) at which the queue is
* considered to be congested. It include a little hysteresis to keep the