[PATCH 5/8] block: unexport get_gendisk

From: Christoph Hellwig
Date: Wed Mar 25 2020 - 07:06:09 EST


get_gendisk is not used by any modular code.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
block/genhd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/block/genhd.c b/block/genhd.c
index 144cb50e8eb3..214204c028df 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -953,7 +953,6 @@ struct gendisk *get_gendisk(dev_t devt, int *partno)
}
return disk;
}
-EXPORT_SYMBOL(get_gendisk);

/**
* bdget_disk - do bdget() by gendisk and partition number
--
2.25.1