summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-25 16:48:37 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-25 16:50:08 +0100
commit572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a (patch)
tree53c054a446af0c542bf96b14217fe99c8a3a4089 /block/genhd.c
parentblock: mark part_in_flight and part_in_flight_rw static (diff)
downloadlinux-572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a.tar.xz
linux-572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a.zip
block: unexport disk_get_part
disk_get_part is not used by any modular code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--block/genhd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 5f9df331822a..0ee74b7e01f4 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