diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-08 17:53:47 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-10 18:32:31 +0300 |
commit | b92b53079aedbfb56bbb9ea360e5119fb563a2a1 (patch) | |
tree | b5c9bd1ba7bff9e448b6d6b7a69ea8aabbe68ad9 /include/linux/genhd.h | |
parent | 38a2b557e23874dd5ed3c767d57d28b2d10b7683 (diff) | |
download | linux-b92b53079aedbfb56bbb9ea360e5119fb563a2a1.tar.xz |
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.h | 1 |
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); |