aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-08 16:53:44 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-10 09:32:31 -0600
commit471bd0af544bcd80450d61659a1ffabdd1820d7d (patch)
treee218056800e774e56e81fe2e95a292213127f1f5 /drivers/scsi/sr.c
parentmd: use bdev_check_media_change (diff)
downloadlinux-dev-471bd0af544bcd80450d61659a1ffabdd1820d7d.tar.xz
linux-dev-471bd0af544bcd80450d61659a1ffabdd1820d7d.zip
sd: use bdev_check_media_change
Switch to use bdev_check_media_change instead of check_disk_change and call sd_revalidate_disk manually. As sd also calls sd_revalidate_disk manually during probe and open, the extra call into ->revalidate_disk from bdev_disk_changed is not required either, so stop wiring up the method. 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 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions