X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fbounce.c;h=f71a3b3473038b7fc2eb34d22494a081fa89e994;hb=b5a266d013ae079fde994f1f517d7721b4823edf;hp=434fb4f0c5e4e2fd4bb59dac6f3bd22e188e7554;hpb=a84f6aa68e35a911c28e5871c87356dce3607b40;p=pandora-kernel.git diff --git a/mm/bounce.c b/mm/bounce.c index 434fb4f0c5e4..f71a3b347303 100644 --- a/mm/bounce.c +++ b/mm/bounce.c @@ -4,7 +4,7 @@ */ #include -#include +#include #include #include #include @@ -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;