Fix typos in configuration script
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
aaba2607f5
commit
60192c447e
@ -9,7 +9,7 @@
|
|||||||
if compile_module "struct bio b;blk_rq_append_bio(NULL, &b)" "linux/blkdev.h"
|
if compile_module "struct bio b;blk_rq_append_bio(NULL, &b)" "linux/blkdev.h"
|
||||||
then
|
then
|
||||||
add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\
|
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
|
else
|
||||||
add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\
|
add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\
|
||||||
blk_rq_append_bio(rq, &bounce_bio)"
|
blk_rq_append_bio(rq, &bounce_bio)"
|
||||||
|
@ -28,7 +28,7 @@ static inline struct request *cas_blk_make_request(struct request_queue *q,
|
|||||||
struct bio *bounce_bio = bio;
|
struct bio *bounce_bio = bio;
|
||||||
int ret;
|
int ret;
|
||||||
cas_blk_queue_bounce(q, &bounce_bio);
|
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)) {
|
if (unlikely(ret)) {
|
||||||
blk_put_request(rq);
|
blk_put_request(rq);
|
||||||
return ERR_PTR(ret);
|
return ERR_PTR(ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user