summaryrefslogtreecommitdiff
path: root/block/holder.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-20 14:33:25 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:02 -0600
commitb81e0c2372e65e5627864ba034433b64b2fc73f5 (patch)
treed2246d79fb7132f23d30480631ffb9f6c2d5d047 /block/holder.c
parent3ab0bc78e96bd03a5096e4801550926d81b3e19d (diff)
block: drop unused includes in <linux/genhd.h>
Drop various include not actually used in genhd.h itself, and move the remaning includes closer together. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20210920123328.1399408-15-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/holder.c')
-rw-r--r--block/holder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/holder.c b/block/holder.c
index 9dc084182337..27cddce1b446 100644
--- a/block/holder.c
+++ b/block/holder.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <linux/genhd.h>
+#include <linux/slab.h>
struct bd_holder_disk {
struct list_head list;