]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/bounce.c
highmem: use bio_has_data() in the bounce path
[linux-2.6-omap-h63xx.git] / 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;
 
        /*