mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
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:
+2
-9
@@ -450,13 +450,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]))
|
||||
@@ -898,7 +891,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
|
||||
])
|
||||
])
|
||||
|
||||
@@ -1069,7 +1062,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)
|
||||
|
||||
Reference in New Issue
Block a user