]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/gfs2/lops.c
buffer: set errors in mapping at the time that the error occurs
[karo-tx-linux.git] / fs / gfs2 / lops.c
index b1f9144b42c7fd6ae4f0f24f82adaf142bfa4922..cd7857ab1a6aeadc2204eb5164c3aeb9c407cf35 100644 (file)
@@ -182,7 +182,7 @@ static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec,
                bh = bh->b_this_page;
        do {
                if (error)
-                       set_buffer_write_io_error(bh);
+                       mark_buffer_write_io_error(bh);
                unlock_buffer(bh);
                next = bh->b_this_page;
                size -= bh->b_size;