aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-03-20 16:15:01 -0400
committerJens Axboe <axboe@kernel.dk>2019-03-20 16:19:38 -0400
commit373e915cd8e84544609eced57a44fbc084f8d60f (patch)
treed5b122354b01fe78e4be1cd134faf389c3e4ef9b
parente6c987120e24cb913cb7bd4e675129a30fa49e0d (diff)
blk-iolatency: #include "blk.h"
This patch avoids that the following warning is reported when building with W=1: block/blk-iolatency.c:734:5: warning: no previous prototype for 'blk_iolatency_init' [-Wmissing-prototypes] Cc: Josef Bacik <jbacik@fb.com> Fixes: d70675121546 ("block: introduce blk-iolatency io controller") # v4.19 Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/blk-iolatency.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c
index 2620baa1f699..507212d75ee2 100644
--- a/block/blk-iolatency.c
+++ b/block/blk-iolatency.c
@@ -75,6 +75,7 @@
75#include <linux/blk-mq.h> 75#include <linux/blk-mq.h>
76#include "blk-rq-qos.h" 76#include "blk-rq-qos.h"
77#include "blk-stat.h" 77#include "blk-stat.h"
78#include "blk.h"
78 79
79#define DEFAULT_SCALE_COOKIE 1000000U 80#define DEFAULT_SCALE_COOKIE 1000000U
80 81