diff options
author | 2020-09-08 16:53:35 +0200 | |
---|---|---|
committer | 2020-09-10 09:32:31 -0600 | |
commit | 3dcbad297b9976394190ee40913b53e50e9c83f2 (patch) | |
tree | fdc37e6c05e92b87b58ac3791fbe59b9c1392fb8 /include/linux/ide.h | |
parent | swim: simplify media change handling (diff) | |
download | wireguard-linux-3dcbad297b9976394190ee40913b53e50e9c83f2.tar.xz wireguard-linux-3dcbad297b9976394190ee40913b53e50e9c83f2.zip |
swim3: use bdev_check_media_changed
Switch to use bdev_check_media_changed instead of check_disk_change and
call floppy_revalidate manually. Given that floppy_revalidate only
deals with media change events, 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 'include/linux/ide.h')
0 files changed, 0 insertions, 0 deletions