]> granicus.if.org Git - zfs/commit
Fix autoconf detection of super_setup_bdi_name
authorJustin Bedő <cu@cua0.org>
Tue, 25 Jul 2017 17:30:20 +0000 (03:30 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 25 Jul 2017 17:30:20 +0000 (10:30 -0700)
commitf269060a24d1f43a30d647e0835ca4fcaac6bae9
treee4c0545121e2928df4ec1d0fe30c3fe61a642558
parente889f0f520971fc2688189cdbe0efde2ccc8ec65
Fix autoconf detection of super_setup_bdi_name

The previous autoconf test for the presence of super_setup_bdi_name()
uses an invocation with an incorrect type signature, producing a
warning by the compiler when the test is run. This gets elevated to an
error when compiling with -Werror=format-security, causing autoconf to
falsely infer super_setup_bdi_name() is not present. This updates the
testing code to match the invocation used in
include/linux/vfs_compat.h.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Justin Bedo <cu@cua0.org>
Closes #6398
config/kernel-bdi.m4