commit | 444aa2c58cb3b6cfe3b7cc7db6c294d73393a894 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 08 13:02:35 2023 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 12 08:04:03 2023 -0600 |
tree | 250825e269bcdb6c4ed561ea581be0587f4497df | |
parent | 7ae24fcee9929f9002b84d8121144b2b3590b58c [diff] |
block: pass a gendisk on bdev_check_media_change bdev_check_media_change should only ever be called for the whole device. Pass a gendisk to make that explicit and rename the function to disk_check_media_change. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Christian Brauner <brauner@kernel.org> Link: https://lore.kernel.org/r/20230608110258.189493-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>