From d66b817f0ac78499b0cef73f5093d452cb18d8f4 Mon Sep 17 00:00:00 2001 From: Rich Ercolani <214141+rincebrain@users.noreply.github.com> Date: Fri, 28 May 2021 01:39:53 -0400 Subject: [PATCH] Minor fix to configure on s390x configure on s390x has a key check fail with an error about a variable being used uninitialized. So let's initialize it. Reviewed-by: Colin Ian King Reviewed-by: Brian Behlendorf Signed-off-by: Rich Ercolani Closes #12126 --- config/kernel-bdi.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/kernel-bdi.m4 b/config/kernel-bdi.m4 index 9351df71b..9758863a9 100644 --- a/config/kernel-bdi.m4 +++ b/config/kernel-bdi.m4 @@ -8,7 +8,9 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BDI], [ ], [ char *name = "bdi"; atomic_long_t zfs_bdi_seq; - int error __attribute__((unused)) = + int error __attribute__((unused)); + atomic_long_set(&zfs_bdi_seq, 0); + error = super_setup_bdi_name(&sb, "%.28s-%ld", name, atomic_long_inc_return(&zfs_bdi_seq)); ])