summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-25 16:48:39 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-25 09:50:08 -0600
commit1b4d4dbdaeb7087122a39d3fb9ae32487e001b6c (patch)
tree31e1d9daca343bde2f71d75953c3dc8c4d38c501 /block
parenta7818aedda7101f2270d5495aa4c4114b13510bd (diff)
downloadlinux-1b4d4dbdaeb7087122a39d3fb9ae32487e001b6c.tar.bz2
block: unexport get_gendisk
get_gendisk 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 'block')
-rw-r--r--block/genhd.c1
1 files changed, 0 insertions, 1 deletions
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