]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
highmem: use bio_has_data() in the bounce path
authorJens Axboe <jens.axboe@oracle.com>
Thu, 14 Aug 2008 11:12:15 +0000 (13:12 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:01 +0000 (08:56 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mm/bounce.c

index b6d2d0f1019b3975640a5b0388825b44112be7de..06722c4030584382478d7c447ad35f96fe856dd6 100644 (file)
@@ -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;
 
        /*