diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-25 16:48:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-25 09:50:08 -0600 |
commit | 581e26004a09c50e5017caadc850ea17e374a5ee (patch) | |
tree | 5210d9e7df10307ddc96c613c39464e847983268 /block/partitions | |
parent | 29125ed624eeb3ac2eb7bca313a8de29c1c84dcd (diff) |
block: move block layer internals out of include/linux/genhd.h
None of this needs to be exposed to drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions')
-rw-r--r-- | block/partitions/check.h | 1 | ||||
-rw-r--r-- | block/partitions/core.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/check.h b/block/partitions/check.h index f845355489ec..c577e9ee67f0 100644 --- a/block/partitions/check.h +++ b/block/partitions/check.h @@ -2,6 +2,7 @@ #include <linux/pagemap.h> #include <linux/blkdev.h> #include <linux/genhd.h> +#include "../blk.h" /* * add_gd_partition adds a partitions details to the devices partition diff --git a/block/partitions/core.c b/block/partitions/core.c index b442bc209b86..b79c4513629b 100644 --- a/block/partitions/core.c +++ b/block/partitions/core.c @@ -10,7 +10,6 @@ #include <linux/vmalloc.h> #include <linux/blktrace_api.h> #include <linux/raid/detect.h> -#include "../blk.h" #include "check.h" static int (*check_part[])(struct parsed_partitions *) = { |