Linux 5.11 compat: revalidate_disk_size()
commit19697e4545cae70cf6692d19d17821d2f11a1ece
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Dec 2020 21:53:25 +0000 (22 13:53 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Dec 2020 00:20:40 +0000 (27 16:20 -0800)
treed5b3d09778e46c1ab4e1c4215c573dbc266fd954
parent72ba4b2a4ca8c55bc8e8350126de2e9f18e75900
Linux 5.11 compat: revalidate_disk_size()

Both revalidate_disk_size() and revalidate_disk() have been removed.
Functionally this isn't a problem because we only relied on these
functions to call zvol_revalidate_disk() for us and to perform any
additional handling which might be needed for that kernel version.
When neither are available we know there's no additional handling
needed and we can directly call zvol_revalidate_disk().

Reviewed-by: Rafael Kitover <rkitover@gmail.com>
Reviewed-by: Coleman Kane <ckane@colemankane.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11387
Closes #11390
config/kernel-revalidate-disk-size.m4
config/kernel.m4
module/os/linux/zfs/zvol_os.c