From: Christoph Hellwig Date: Tue, 23 Nov 2021 18:53:09 +0000 (+0100) Subject: block: don't include blk-mq.h in blk.h X-Git-Tag: for-5.17/block-2022-01-11~96 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e4a19f7289f3fa9b2a4e65d0f4b3a7816e8e445b;p=linux-2.6-block.git block: don't include blk-mq.h in blk.h No needed, shift a blk-stat.h include into the source file that needs it instead. Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20211123185312.1432157-6-hch@lst.de Signed-off-by: Jens Axboe --- diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 39bb6e68a9a2..7c462c006b26 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -13,6 +13,7 @@ #include #include "blk.h" #include "blk-cgroup-rwstat.h" +#include "blk-stat.h" #include "blk-throttle.h" /* Max dispatch from a group in 1 round */ diff --git a/block/blk.h b/block/blk.h index db6efa351d3e..0f9472bea616 100644 --- a/block/blk.h +++ b/block/blk.h @@ -9,7 +9,6 @@ #include /* for max_pfn/max_low_pfn */ #include #include "blk-crypto-internal.h" -#include "blk-mq.h" struct elevator_type;