highmem: use bio_has_data() in the bounce path
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
@@ -267,7 +267,7 @@ void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
|
|||||||
/*
|
/*
|
||||||
* Data-less bio, nothing to bounce
|
* Data-less bio, nothing to bounce
|
||||||
*/
|
*/
|
||||||
if (bio_empty_barrier(*bio_orig))
|
if (!bio_has_data(*bio_orig))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user