]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Fix CONFIG_DEBUG_LOCK_ALLOC configure check
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Sep 2020 23:42:54 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Sep 2020 23:42:54 +0000 (16:42 -0700)
This check was accidentally broken when the kABI checks were updated
to run in parallel, commit 608f874.  The check must be for the
config_debug_lock_alloc_license name to determine if the symbol
is license compatible.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10991

config/kernel-config-defined.m4

index 0ee4231cc2db435372c98f7a770041fece131264..fe778e6494544b24c5acecdf7ce248b1847e4128 100644 (file)
@@ -91,7 +91,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_CONFIG_DEBUG_LOCK_ALLOC], [
 
 AC_DEFUN([ZFS_AC_KERNEL_CONFIG_DEBUG_LOCK_ALLOC], [
        AC_MSG_CHECKING([whether mutex_lock() is GPL-only])
-       ZFS_LINUX_TEST_RESULT([config_debug_lock_alloc], [
+       ZFS_LINUX_TEST_RESULT([config_debug_lock_alloc_license], [
                AC_MSG_RESULT(no)
        ],[
                AC_MSG_RESULT(yes)