]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/gfs2/meta_io.c
block: switch bios to blk_status_t
[mirror_ubuntu-bionic-kernel.git] / fs / gfs2 / meta_io.c
index 663ffc135ef365a436ae658d3f71965b31cee06e..fabe1614f879525827290d05eb79ca53ad76a57e 100644 (file)
@@ -201,7 +201,7 @@ static void gfs2_meta_read_endio(struct bio *bio)
                do {
                        struct buffer_head *next = bh->b_this_page;
                        len -= bh->b_size;
-                       bh->b_end_io(bh, !bio->bi_error);
+                       bh->b_end_io(bh, !bio->bi_status);
                        bh = next;
                } while (bh && len);
        }