From 5bee265908fb0fccd8ff16f05a470c6b66ed1bd4 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 27 Aug 2021 13:02:54 -0400 Subject: Correct checking bdev_check_media_change message We're not looking for bdev_disk_changed. Reviewed-by: Brian Behlendorf Reviewed-by: Tony Hutter Signed-off-by: Ryan Moeller Closes #12492 --- config/kernel-blkdev.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kernel-blkdev.m4 b/config/kernel-blkdev.m4 index 4b80d4dd2..61e66421f 100644 --- a/config/kernel-blkdev.m4 +++ b/config/kernel-blkdev.m4 @@ -120,7 +120,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BLKDEV_BDEV_CHECK_MEDIA_CHANGE], [ ]) AC_DEFUN([ZFS_AC_KERNEL_BLKDEV_BDEV_CHECK_MEDIA_CHANGE], [ - AC_MSG_CHECKING([whether bdev_disk_changed() exists]) + AC_MSG_CHECKING([whether bdev_check_media_change() exists]) ZFS_LINUX_TEST_RESULT([bdev_check_media_change], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_BDEV_CHECK_MEDIA_CHANGE, 1, -- cgit v1.2.3