aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-bio.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-bio.m4')
-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 afa1f1cabeb0..534282780d3e 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])