diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-08 13:02:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-12 16:04:03 +0200 |
commit | 444aa2c58cb3b6cfe3b7cc7db6c294d73393a894 (patch) | |
tree | 250825e269bcdb6c4ed561ea581be0587f4497df /README | |
parent | cdrom: remove the unused mode argument to cdrom_release (diff) | |
download | linux-444aa2c58cb3b6cfe3b7cc7db6c294d73393a894.tar.xz linux-444aa2c58cb3b6cfe3b7cc7db6c294d73393a894.zip |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions