commit | 36144077bce9f89763ce994bc631cbd1c9db7785 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Aug 14 13:12:15 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 09 08:56:01 2008 +0200 |
tree | ccc8ccff5edd75d99d2a1b8c35f3956e2f5b288e | |
parent | 051cc3952a8fb6fa875a4eff68d06cf42207dcf4 [diff] [blame] |
highmem: use bio_has_data() in the bounce path Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/mm/bounce.c b/mm/bounce.c index b6d2d0f..06722c4 100644 --- a/mm/bounce.c +++ b/mm/bounce.c
@@ -267,7 +267,7 @@ /* * Data-less bio, nothing to bounce */ - if (bio_empty_barrier(*bio_orig)) + if (!bio_has_data(*bio_orig)) return; /*