X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fbounce.c;h=f71a3b3473038b7fc2eb34d22494a081fa89e994;hb=a05ac56d633043bd1d372edcea32d0ef56997f90;hp=4e9ae722af83eb3e9a113fba806356d44121a340;hpb=98393b8ff2ca98b5b984e73a291b81b326e25184;p=pandora-kernel.git 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;