Skip to content

Commit

Permalink
Minor fix to configure on s390x
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rincebrain authored May 28, 2021
1 parent 8670644 commit d66b817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/kernel-bdi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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));
])
Expand Down

0 comments on commit d66b817

Please sign in to comment.