summaryrefslogtreecommitdiffstats
path: root/config/kernel-block-device-operations.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-block-device-operations.m4')
-rw-r--r--config/kernel-block-device-operations.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/config/kernel-block-device-operations.m4 b/config/kernel-block-device-operations.m4
index c3d5eec52..8e64ecca9 100644
--- a/config/kernel-block-device-operations.m4
+++ b/config/kernel-block-device-operations.m4
@@ -19,10 +19,8 @@ AC_DEFUN([ZFS_AC_KERNEL_BLOCK_DEVICE_OPERATIONS_CHECK_EVENTS], [
AC_MSG_CHECKING([whether bops->check_events() exists])
ZFS_LINUX_TEST_RESULT([block_device_operations_check_events], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_BLOCK_DEVICE_OPERATIONS_CHECK_EVENTS, 1,
- [bops->check_events() exists])
],[
- AC_MSG_RESULT(no)
+ ZFS_LINUX_TEST_ERROR([bops->check_events()])
])
])
@@ -49,10 +47,8 @@ AC_DEFUN([ZFS_AC_KERNEL_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID], [
AC_MSG_CHECKING([whether bops->release() is void])
ZFS_LINUX_TEST_RESULT([block_device_operations_release_void], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID, 1,
- [bops->release() returns void])
],[
- AC_MSG_RESULT(no)
+ ZFS_LINUX_TEST_ERROR([bops->release()])
])
])