aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-12-22 13:53:25 -0800
committerBrian Behlendorf <[email protected]>2021-01-05 10:26:32 -0800
commita2621753b2f17aec14fbcab63cfda872c0c0b5ea (patch)
tree54a7f832303a09448bcbb47ca934fe6e83bde936 /config/kernel.m4
parente888f2898895ba143046c0247d2e152fa60ce686 (diff)
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 <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11387 Closes #11390
Diffstat (limited to 'config/kernel.m4')
-rw-r--r--config/kernel.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4
index 002ba2eea..845f193ba 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -62,7 +62,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_SRC], [
ZFS_AC_KERNEL_SRC_BLKDEV
ZFS_AC_KERNEL_SRC_BLK_QUEUE
ZFS_AC_KERNEL_SRC_GET_DISK_AND_MODULE
- ZFS_AC_KERNEL_SRC_REVALIDATE_DISK_SIZE
+ ZFS_AC_KERNEL_SRC_REVALIDATE_DISK
ZFS_AC_KERNEL_SRC_GET_DISK_RO
ZFS_AC_KERNEL_SRC_GENERIC_READLINK_GLOBAL
ZFS_AC_KERNEL_SRC_DISCARD_GRANULARITY
@@ -160,7 +160,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_RESULT], [
ZFS_AC_KERNEL_BLKDEV
ZFS_AC_KERNEL_BLK_QUEUE
ZFS_AC_KERNEL_GET_DISK_AND_MODULE
- ZFS_AC_KERNEL_REVALIDATE_DISK_SIZE
+ ZFS_AC_KERNEL_REVALIDATE_DISK
ZFS_AC_KERNEL_GET_DISK_RO
ZFS_AC_KERNEL_GENERIC_READLINK_GLOBAL
ZFS_AC_KERNEL_DISCARD_GRANULARITY