diff --git a/configure.d/1_append_bio.conf b/configure.d/1_append_bio.conf index 8fcfbef..e11804a 100644 --- a/configure.d/1_append_bio.conf +++ b/configure.d/1_append_bio.conf @@ -9,7 +9,7 @@ if compile_module "struct bio b;blk_rq_append_bio(NULL, &b)" "linux/blkdev.h" then add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\ - blk_rq_append_bio(rq, bounce_bio" + blk_rq_append_bio(rq, bounce_bio)" else add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\ blk_rq_append_bio(rq, &bounce_bio)" diff --git a/configure.d/2_make_req.conf b/configure.d/2_make_req.conf index b294d4a..5039bbc 100644 --- a/configure.d/2_make_req.conf +++ b/configure.d/2_make_req.conf @@ -28,7 +28,7 @@ static inline struct request *cas_blk_make_request(struct request_queue *q, struct bio *bounce_bio = bio; int ret; cas_blk_queue_bounce(q, &bounce_bio); - ret = cas_blk_rq_append_bio(rq, bounce_bio); + ret = cas_blk_rq_append_bio(rq, &bounce_bio); if (unlikely(ret)) { blk_put_request(rq); return ERR_PTR(ret);