projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa7745
)
block: don't include blk-mq.h in blk.h
author
Christoph Hellwig
<hch@lst.de>
Tue, 23 Nov 2021 18:53:09 +0000
(19:53 +0100)
committer
Jens 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
patch
|
blob
|
history
block/blk.h
patch
|
blob
|
history
diff --git
a/block/blk-throttle.c
b/block/blk-throttle.c
index 39bb6e68a9a294bc47ad7ada8338673e27404cef..7c462c006b2690e6e829b10ede60248e4da0cb6b 100644
(file)
--- a/
block/blk-throttle.c
+++ b/
block/blk-throttle.c
@@
-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 */
diff --git
a/block/blk.h
b/block/blk.h
index db6efa351d3eca297f64a55fed1727b0e3c0aaf7..0f9472bea6167e496220de601057c1ee3dfce208 100644
(file)
--- a/
block/blk.h
+++ b/
block/blk.h
@@
-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;