Skip to content

Commit

Permalink
highmem: use bio_has_data() in the bounce path
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Jens Axboe committed Oct 9, 2008
1 parent 051cc39 commit 3614407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/bounce.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
/*
* Data-less bio, nothing to bounce
*/
if (bio_empty_barrier(*bio_orig))
if (!bio_has_data(*bio_orig))
return;

/*
Expand Down

0 comments on commit 3614407

Please sign in to comment.