Commit 36144077 authored by Jens Axboe's avatar Jens Axboe

highmem: use bio_has_data() in the bounce path

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 051cc395
...@@ -267,7 +267,7 @@ void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig) ...@@ -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;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment