summaryrefslogtreecommitdiffstats
path: root/mm/bounce.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-08-14 13:12:15 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 08:56:01 +0200
commit36144077bce9f89763ce994bc631cbd1c9db7785 (patch)
treeccc8ccff5edd75d99d2a1b8c35f3956e2f5b288e /mm/bounce.c
parent051cc3952a8fb6fa875a4eff68d06cf42207dcf4 (diff)
downloadlinux-36144077bce9f89763ce994bc631cbd1c9db7785.tar.gz
linux-36144077bce9f89763ce994bc631cbd1c9db7785.tar.bz2
linux-36144077bce9f89763ce994bc631cbd1c9db7785.zip
highmem: use bio_has_data() in the bounce path
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/bounce.c')
-rw-r--r--mm/bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/bounce.c b/mm/bounce.c
index b6d2d0f1019b..06722c403058 100644
--- a/mm/bounce.c
+++ b/mm/bounce.c
@@ -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;
/*