config: remove minimum kernel version check

The autoconf checks are more than enough to decide whether or not we can
work with this kernel or not.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@truenas.com>
Closes #18295
This commit is contained in:
Rob Norris 2026-03-08 21:31:12 +11:00 committed by Brian Behlendorf
parent 8531621aba
commit 97e080c496

View File

@ -452,13 +452,6 @@ AC_DEFUN([ZFS_AC_KERNEL], [
AC_MSG_RESULT([$kernsrcver])
AX_COMPARE_VERSION([$kernsrcver], [ge], [$ZFS_META_KVER_MIN], [], [
AC_MSG_ERROR([
*** Cannot build against kernel version $kernsrcver.
*** The minimum supported kernel version is $ZFS_META_KVER_MIN.
])
])
AC_ARG_ENABLE([linux-experimental],
AS_HELP_STRING([--enable-linux-experimental],
[Allow building against some unsupported kernel versions]))
@ -900,7 +893,7 @@ AC_DEFUN([ZFS_LINUX_TEST_ERROR], [
*** incompatible modifications.
***
*** ZFS Version: $ZFS_META_ALIAS
*** Compatible Kernels: $ZFS_META_KVER_MIN - $ZFS_META_KVER_MAX
*** Highest compatible kernel version: $ZFS_META_KVER_MAX
])
])
@ -1071,7 +1064,7 @@ AC_DEFUN([ZFS_LINUX_REQUIRE_API], [
*** APIs.
***
*** ZFS Version: $ZFS_META_ALIAS
*** Compatible Kernels: $ZFS_META_KVER_MIN - $ZFS_META_KVER_MAX
*** Highest compatible kernel version: $ZFS_META_KVER_MAX
])
], [
AC_MSG_RESULT(no)