[PATCH 5/9] block: unexport get_gendisk

From: Christoph Hellwig
Date: Wed Mar 25 2020 - 11:49:02 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 1e4855c8265a..6323cc789efa 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -980,7 +980,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