Blob Blame History Raw
From: Christoph Hellwig <hch@lst.de>
Date: Tue, 24 Mar 2020 08:25:10 +0100
Subject: [PATCH] block: remove the blk_lookup_devt export
References: bsc#1175995,jsc#SLE-15608
Git-commit: d2332c5c040bc49c6e23426106c468cfa500d873
Patch-mainline: v5.7-rc1

This function is only used by init/do_mounts.c, which can't be modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 block/genhd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/genhd.c b/block/genhd.c
index b210c12c4870..82c95a356667 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1523,7 +1523,6 @@ dev_t blk_lookup_devt(const char *name, int partno)
 	class_dev_iter_exit(&iter);
 	return devt;
 }
-EXPORT_SYMBOL(blk_lookup_devt);
 
 struct gendisk *__alloc_disk_node(int minors, int node_id)
 {
-- 
2.16.4