Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt
[sfrench/cifs-2.6.git] / fs / ext4 / page-io.c
index b9d6cabe2ea8e9ba6cfc0a846494f8c8404120ed..6f5305e9a6acccc62c025caed44f47ded8af9947 100644 (file)
@@ -63,8 +63,9 @@ static void ext4_finish_bio(struct bio *bio)
 {
        int i;
        struct bio_vec *bvec;
+       struct bvec_iter_all iter_all;
 
-       bio_for_each_segment_all(bvec, bio, i) {
+       bio_for_each_segment_all(bvec, bio, i, iter_all) {
                struct page *page = bvec->bv_page;
 #ifdef CONFIG_FS_ENCRYPTION
                struct page *data_page = NULL;