]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/exofs/ore.c
block: Add bio_for_each_segment_all()
[mirror_ubuntu-bionic-kernel.git] / fs / exofs / ore.c
index f936cb50dc0d524250dae6d6ac5382db5c1f25b7..b744228886043d522fa15a32ff98cc80d29db3c9 100644 (file)
@@ -401,7 +401,7 @@ static void _clear_bio(struct bio *bio)
        struct bio_vec *bv;
        unsigned i;
 
-       __bio_for_each_segment(bv, bio, i, 0) {
+       bio_for_each_segment_all(bv, bio, i) {
                unsigned this_count = bv->bv_len;
 
                if (likely(PAGE_SIZE == this_count))