From 3964f30edbd72ef2f9b8106bfc4aa8a22d433dce Mon Sep 17 00:00:00 2001 From: Rafal Stefanowski Date: Thu, 6 Oct 2022 12:34:37 +0200 Subject: [PATCH] Fix missing include in 1_bio_dev.conf in configure scripts Signed-off-by: Rafal Stefanowski --- configure.d/1_bio_dev.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.d/1_bio_dev.conf b/configure.d/1_bio_dev.conf index 60cdb33..a471334 100644 --- a/configure.d/1_bio_dev.conf +++ b/configure.d/1_bio_dev.conf @@ -11,8 +11,8 @@ check() { config_file_path=$1 if compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_bdev = NULL;" "linux/bio.h" "linux/genhd.h" then - echo $cur_name "1" >> $config_file_path - elif compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_disk = NULL;" "linux/bio.h" + echo $cur_name "1" >> $config_file_path + elif compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_disk = NULL;" "linux/bio.h" "linux/genhd.h" then echo $cur_name "2" >> $config_file_path elif compile_module $cur_name "struct bio b; b.bi_bdev = NULL;" "linux/bio.h"