HomeFreeBSD

Linux 5.10 compat: revalidate_disk_size() added

Description

Linux 5.10 compat: revalidate_disk_size() added

A new function was added named revalidate_disk_size() and the old
revalidate_disk() appears to have been deprecated. As the only ZFS
code that calls this function is zvol_update_volsize, swapping the
old function call out for the new one should be all that is required.

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

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Oct 18 2020, 5:06 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 2 2020, 10:01 PM
Parents
rGae15f1c1d88d: Linux 5.10 compat: check_disk_change() removed
Branches
Unknown
Tags
Unknown