]> www.infradead.org Git - users/hch/block.git/commit
dasd: use bdev_disk_changed instead of blk_drop_partitions
authorChristoph Hellwig <hch@lst.de>
Fri, 2 Apr 2021 17:20:50 +0000 (19:20 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 2 Apr 2021 17:20:50 +0000 (19:20 +0200)
commit076441b18086cad307e16df56030e4fbc6ebb276
tree7f96926a2af7a8f200cb3277ba8defb5de32854d
parent430a67f9d6169a7b3e328bceb2ef9542e4153c7c
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>
block/partitions/core.c
drivers/s390/block/dasd_genhd.c