HomeFreeBSD

Linux 6.5 compat: disk_check_media_change() was added

Description

Linux 6.5 compat: disk_check_media_change() was added

The disk_check_media_change() function was added which replaces
bdev_check_media_change. This change was introduced in 6.5rc1
444aa2c58cb3b6cfe3b7cc7db6c294d73393a894 and the new function takes a
gendisk* as its argument, no longer a block_device*. Thus, bdev->bd_disk
is now used to pass the expected data.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15060

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Jul 20 2023, 4:09 PM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 11 2023, 10:17 PM
Parents
rGf52d9b6f4278: Linux 6.5 compat: BLK_STS_NEXUS renamed to BLK_STS_RESV_CONFLICT
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGe45ca514e842: Linux 6.5 compat: disk_check_media_change() was added (authored by Coleman Kane <ckane@colemankane.org>).Sep 11 2023, 10:17 PM