summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/kernel-bio.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/kernel-bio.m4 b/config/kernel-bio.m4
index afa1f1cab..534282780 100644
--- a/config/kernel-bio.m4
+++ b/config/kernel-bio.m4
@@ -344,7 +344,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_BLKG_TRYGET], [
#include <linux/bio.h>
#include <linux/fs.h>
],[
- struct blkcg_gq blkg __attribute__ ((unused));
+ struct blkcg_gq blkg __attribute__ ((unused)) = {};
bool rc __attribute__ ((unused));
rc = blkg_tryget(&blkg);
], [], [$ZFS_META_LICENSE])