dasd: use bdev_disk_changed instead of blk_drop_partitions
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Apr 2021 06:22:52 +0000 (08:22 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Apr 2021 16:24:36 +0000 (10:24 -0600)
commitb896fa85e0ee4f09ba4be48a3f405fc82c38afb4
tree4499d5960d62938852ab1701e3077f0262f4f0e0
parent540ad3f3da2542ec99235ac55e7cba8b11ce4b7b
dasd: use bdev_disk_changed instead of blk_drop_partitions

Use the more general interface - the behavior is the same except
that now a change uevent is sent, which is the right thing to do
when the device becomes unusable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20210406062303.811835-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c
drivers/s390/block/dasd_genhd.c