Correct checking bdev_check_media_change message
We're not looking for bdev_disk_changed. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #12492
This commit is contained in:
parent
2904ec57f0
commit
6c3c7dc846
|
@ -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_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], [
|
ZFS_LINUX_TEST_RESULT([bdev_check_media_change], [
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_BDEV_CHECK_MEDIA_CHANGE, 1,
|
AC_DEFINE(HAVE_BDEV_CHECK_MEDIA_CHANGE, 1,
|
||||||
|
|
Loading…
Reference in New Issue