Fix missing include in 1_bio_dev.conf in configure scripts
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
parent
65bc955d4f
commit
3964f30edb
@ -11,8 +11,8 @@ check() {
|
|||||||
config_file_path=$1
|
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"
|
if compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_bdev = NULL;" "linux/bio.h" "linux/genhd.h"
|
||||||
then
|
then
|
||||||
echo $cur_name "1" >> $config_file_path
|
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"
|
elif compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_disk = NULL;" "linux/bio.h" "linux/genhd.h"
|
||||||
then
|
then
|
||||||
echo $cur_name "2" >> $config_file_path
|
echo $cur_name "2" >> $config_file_path
|
||||||
elif compile_module $cur_name "struct bio b; b.bi_bdev = NULL;" "linux/bio.h"
|
elif compile_module $cur_name "struct bio b; b.bi_bdev = NULL;" "linux/bio.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user