From 6c3c7dc8462b50d444e8e507af4468101a24d732 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 27 Aug 2021 13:02:54 -0400 Subject: [PATCH] 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 4b80d4dd29..61e66421f8 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,