X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fbtrfs%2Fcompression.c;h=4f2a8ae0aa421f35fc5fc5ea97e598273ffc10ba;hb=7b47a9e7c8f672b6fb0b77fca11a63a8a77f5a91;hp=eb8e20b740d6e245ec303da68ab335ce21fcd14a;hpb=039cd25f18b3c724e84709e8c6d5bde082a73bf1;p=linux-2.6-block.git diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index eb8e20b740d6..4f2a8ae0aa42 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -162,13 +162,14 @@ csum_failed: } else { int i; struct bio_vec *bvec; + struct bvec_iter_all iter_all; /* * we have verified the checksum already, set page * checked so the end_io handlers know about it */ ASSERT(!bio_flagged(bio, BIO_CLONED)); - bio_for_each_segment_all(bvec, cb->orig_bio, i) + bio_for_each_segment_all(bvec, cb->orig_bio, i, iter_all) SetPageChecked(bvec->bv_page); bio_endio(cb->orig_bio);