diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 11:02:35 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-12 14:04:03 +0000 |
| commit | 444aa2c58cb3b6cfe3b7cc7db6c294d73393a894 (patch) | |
| tree | 250825e269bcdb6c4ed561ea581be0587f4497df /fs/btrfs/dev-replace.c | |
| parent | cdrom: remove the unused mode argument to cdrom_release (diff) | |
| download | kernel-444aa2c58cb3b6cfe3b7cc7db6c294d73393a894.tar.gz kernel-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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
