]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/exofs/ore.c
block: replace bi_bdev with a gendisk pointer and partitions index
[mirror_ubuntu-bionic-kernel.git] / fs / exofs / ore.c
index 8bb72807e70d46ae2ab32e7e8d29de4d034454f5..3c6a9c156b7accb06d96905bc454fe41b2e7c857 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;