Skip to content

Commit 583e2b4

Browse files
rincebrainRageLtMan
authored andcommitted
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12126
1 parent 0fce2dc commit 583e2b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/kernel-bdi.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BDI], [
88
], [
99
char *name = "bdi";
1010
atomic_long_t zfs_bdi_seq;
11-
int error __attribute__((unused)) =
11+
int error __attribute__((unused));
12+
atomic_long_set(&zfs_bdi_seq, 0);
13+
error =
1214
super_setup_bdi_name(&sb, "%.28s-%ld", name,
1315
atomic_long_inc_return(&zfs_bdi_seq));
1416
])

0 commit comments

Comments
 (0)