summaryrefslogtreecommitdiffstats
path: root/config/kernel-truncate-setsize.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-truncate-setsize.m4')
-rw-r--r--config/kernel-truncate-setsize.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/config/kernel-truncate-setsize.m4 b/config/kernel-truncate-setsize.m4
index e719c1444..76c82ef30 100644
--- a/config/kernel-truncate-setsize.m4
+++ b/config/kernel-truncate-setsize.m4
@@ -15,9 +15,7 @@ AC_DEFUN([ZFS_AC_KERNEL_TRUNCATE_SETSIZE], [
ZFS_LINUX_TEST_RESULT_SYMBOL([truncate_setsize],
[truncate_setsize], [mm/truncate.c], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_TRUNCATE_SETSIZE, 1,
- [truncate_setsize() is available])
], [
- AC_MSG_RESULT(no)
+ ZFS_LINUX_TEST_ERROR([truncate_setsize])
])
])