summaryrefslogtreecommitdiff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 09:40:40 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-13 15:52:29 +0300
commit90110e04f265b95f59fbae09c228c5920b8a302f (patch)
tree0c3c88c2b461892f6df2e7ff9fd3185c07bd33dc /block/blk-mq.h
parentbebe84ebeec4d030aa65af58376305749762e5a0 (diff)
downloadlinux-90110e04f265b95f59fbae09c228c5920b8a302f.tar.xz
blk-mq: include <linux/blk-mq.h> in block/blk-mq.h
block/blk-mq.h needs various definitions from <linux/blk-mq.h>, include it there instead of relying on the source files to include both. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230413064057.707578-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index 7a041fecea02..fa13b694ff27 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -2,6 +2,7 @@
#ifndef INT_BLK_MQ_H
#define INT_BLK_MQ_H
+#include <linux/blk-mq.h>
#include "blk-stat.h"
struct blk_mq_tag_set;