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 16:50:08 +0100
commit1b4d4dbdaeb7087122a39d3fb9ae32487e001b6c (patch)
tree31e1d9daca343bde2f71d75953c3dc8c4d38c501 /block
parentblock: unexport disk_map_sector_rcu (diff)
downloadlinux-1b4d4dbdaeb7087122a39d3fb9ae32487e001b6c.tar.xz
linux-1b4d4dbdaeb7087122a39d3fb9ae32487e001b6c.zip
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