summaryrefslogtreecommitdiffstats
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-08 16:53:47 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-10 09:32:31 -0600
commitb92b53079aedbfb56bbb9ea360e5119fb563a2a1 (patch)
treeb5c9bd1ba7bff9e448b6d6b7a69ea8aabbe68ad9 /include/linux/genhd.h
parent38a2b557e23874dd5ed3c767d57d28b2d10b7683 (diff)
downloadlinux-stable-b92b53079aedbfb56bbb9ea360e5119fb563a2a1.tar.gz
linux-stable-b92b53079aedbfb56bbb9ea360e5119fb563a2a1.tar.bz2
linux-stable-b92b53079aedbfb56bbb9ea360e5119fb563a2a1.zip
block: remove check_disk_change
Remove the now unused check_disk_change helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r--include/linux/genhd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 322d48a20772..1c97cf84f011 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -370,7 +370,6 @@ int register_blkdev(unsigned int major, const char *name);
void unregister_blkdev(unsigned int major, const char *name);
void revalidate_disk_size(struct gendisk *disk, bool verbose);
-int check_disk_change(struct block_device *bdev);
bool bdev_check_media_change(struct block_device *bdev);
int __invalidate_device(struct block_device *bdev, bool kill_dirty);
void bd_set_nr_sectors(struct block_device *bdev, sector_t sectors);