X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=mm%2Fbounce.c;h=f71a3b3473038b7fc2eb34d22494a081fa89e994;hp=4e9ae722af83eb3e9a113fba806356d44121a340;hb=4cecd7e369e1b252db1d64451462221b362eed1c;hpb=54a0f91301950af3d6ae2ff2bf710c9c68a9bfea diff --git a/mm/bounce.c b/mm/bounce.c index 4e9ae722af83..f71a3b347303 100644 --- a/mm/bounce.c +++ b/mm/bounce.c @@ -132,7 +132,7 @@ static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) /* * free up bounce indirect pages used */ - __bio_for_each_segment(bvec, bio, i, 0) { + bio_for_each_segment_all(bvec, bio, i) { org_vec = bio_orig->bi_io_vec + i; if (bvec->bv_page == org_vec->bv_page) continue;