Re: [PATCH 07/19] swim3: use bdev_check_media_changed

From: Sergei Shtylyov
Date: Wed Sep 09 2020 - 03:50:17 EST


Hello!

On 08.09.2020 17:53, Christoph Hellwig wrote:

Switch to use bdev_check_media_changed instead of check_disk_change and
^^^
Using?

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@xxxxxx>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
[...]

MBR, Sergei