summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-23 19:53:12 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-29 14:38:44 +0100
commit82d981d4230bc0a19540fc540d4bdf49a3769f05 (patch)
tree57aa5a875ae70226bbfa9d9c672bc06e10f71213 /block/genhd.c
parentblock: don't include <linux/idr.h> in blk.h (diff)
downloadlinux-82d981d4230bc0a19540fc540d4bdf49a3769f05.tar.xz
linux-82d981d4230bc0a19540fc540d4bdf49a3769f05.zip
block: don't include <linux/part_stat.h> in blk.h
Not needed, shift it into the source files that need it instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211123185312.1432157-9-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 01606db8c625..5179a4f00fba 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -25,6 +25,7 @@
#include <linux/log2.h>
#include <linux/pm_runtime.h>
#include <linux/badblocks.h>
+#include <linux/part_stat.h>
#include "blk.h"
#include "blk-mq-sched.h"