diff --git a/configure.d/1_bdev_lookup.conf b/configure.d/1_bdev_lookup.conf index ec4ff27..9d25b92 100644 --- a/configure.d/1_bdev_lookup.conf +++ b/configure.d/1_bdev_lookup.conf @@ -9,10 +9,10 @@ check() { cur_name=$(basename $2) config_file_path=$1 - if compile_module $cur_name "lookup_bdev(\"some_path\")" "linux/fs.h" + if compile_module $cur_name "lookup_bdev(\"some_path\")" "linux/fs.h" "linux/blkdev.h" then echo $cur_name "1" >> $config_file_path - elif compile_module $cur_name "lookup_bdev(\"some_path\", 0)" "linux/fs.h" + elif compile_module $cur_name "lookup_bdev(\"some_path\", 0)" "linux/fs.h" "linux/blkdev.h" then echo $cur_name "2" >> $config_file_path else