]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Linux 5.10 compat: revalidate_disk_size() added
authorColeman Kane <ckane@colemankane.org>
Sun, 18 Oct 2020 17:06:18 +0000 (13:06 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 Nov 2020 22:01:19 +0000 (22:01 +0000)
commit59b687232798a4da0e7647cca19a308aa82b5fad
treeec1d1b9fe333f9ac6c38686e4dfeb6c7ace39742
parentae15f1c1d88d85cc1af8152559d50a4baf5e50c5
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
config/kernel-revalidate-disk-size.m4 [new file with mode: 0644]
config/kernel.m4
module/os/linux/zfs/zvol_os.c