diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-08 16:53:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-10 17:32:31 +0200 |
commit | 471bd0af544bcd80450d61659a1ffabdd1820d7d (patch) | |
tree | e218056800e774e56e81fe2e95a292213127f1f5 /drivers/scsi/sr.c | |
parent | md: use bdev_check_media_change (diff) | |
download | linux-471bd0af544bcd80450d61659a1ffabdd1820d7d.tar.xz linux-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