]> git.baikalelectronics.ru Git - kernel.git/commit
block: pass a gendisk to bdev_disk_changed
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Jun 2021 12:32:40 +0000 (14:32 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Jun 2021 18:01:06 +0000 (12:01 -0600)
commit0384264ea8a39bd98c9a3158060565f650c056a6
tree535a4cea87e63f71d92ff186525094781529a3af
parent630161cfdf5cdc696a82b59410d1ff00b23d946e
block: pass a gendisk to bdev_disk_changed

bdev_disk_changed can only operate on whole devices.  Make that clear
by passing a gendisk instead of the struct block_device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210624123240.441814-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c
drivers/block/loop.c
drivers/s390/block/dasd_genhd.c
fs/block_dev.c
include/linux/genhd.h