From: Christoph Hellwig Date: Wed, 25 Mar 2020 15:48:37 +0000 (+0100) Subject: block: unexport disk_get_part X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a;p=linux.git block: unexport disk_get_part disk_get_part is not used by any modular code. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/block/genhd.c b/block/genhd.c index 5f9df331822a0..0ee74b7e01f46 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -217,7 +217,6 @@ struct hd_struct *disk_get_part(struct gendisk *disk, int partno) return part; } -EXPORT_SYMBOL_GPL(disk_get_part); /** * disk_part_iter_init - initialize partition iterator