Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / fs / exofs / ore.c
index 8bb7280..3c6a9c1 100644 (file)
@@ -869,7 +869,7 @@ static int _write_mirror(struct ore_io_state *ios, int cur_comp)
                                        goto out;
                                }
 
-                               bio->bi_bdev = NULL;
+                               bio->bi_disk = NULL;
                                bio->bi_next = NULL;
                                per_dev->offset = master_dev->offset;
                                per_dev->length = master_dev->length;