Blob Blame History Raw
From: Christoph Hellwig <hch@lst.de>
Date: Wed, 25 Mar 2020 16:48:38 +0100
Subject: [PATCH] block: unexport disk_map_sector_rcu
References: bsc#1175995,jsc#SLE-15608
Git-commit: a7818aedda7101f2270d5495aa4c4114b13510bd
Patch-mainline: v5.7-rc1

disk_map_sector_rcu is not used by any modular code.

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 32a32c541f53..572c1aee2b07 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -372,7 +372,6 @@ struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector)
 	}
 	return &disk->part0;
 }
-EXPORT_SYMBOL_GPL(disk_map_sector_rcu);
 
 /**
  * disk_has_partitions
-- 
2.16.4