OSDN Git Service

block: don't include blk-mq.h in blk.h
authorChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2021 18:53:09 +0000 (19:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:38:44 +0000 (06:38 -0700)
No needed, shift a blk-stat.h include into the source file that needs it
instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211123185312.1432157-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c
block/blk.h

index 39bb6e6..7c462c0 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/blk-cgroup.h>
 #include "blk.h"
 #include "blk-cgroup-rwstat.h"
+#include "blk-stat.h"
 #include "blk-throttle.h"
 
 /* Max dispatch from a group in 1 round */
index db6efa3..0f9472b 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/memblock.h>    /* for max_pfn/max_low_pfn */
 #include <xen/xen.h>
 #include "blk-crypto-internal.h"
-#include "blk-mq.h"
 
 struct elevator_type;