Skip to content

Commit

Permalink
blk-iolatency: #include "blk.h"
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/1830906

[ Upstream commit 373e915 ]

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 <[email protected]>
Fixes: d706751 ("block: introduce blk-iolatency io controller") # v4.19
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Stefan Bader <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
  • Loading branch information
bvanassche authored and smb49 committed Jul 2, 2019
1 parent ba799b3 commit de12dd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-iolatency.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
#include <linux/blk-mq.h>
#include "blk-rq-qos.h"
#include "blk-stat.h"
#include "blk.h"

#define DEFAULT_SCALE_COOKIE 1000000U

Expand Down

0 comments on commit de12dd1

Please sign in to comment.