X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fgfs2%2Flops.c;h=68b4c8f1fce8568668bb9a8db82a321e6fe56e25;hb=67dd331c5d811b2e50c935a24c82f31b61c6dcd3;hp=c5fa758fd8446e1938036be9cdedaf75e2bc552b;hpb=7462543abb87f55b530dfbb8d857645f1cebd756;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index c5fa758fd844..68b4c8f1fce8 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c @@ -212,7 +212,7 @@ static void gfs2_end_log_write(struct bio *bio, int error) fs_err(sdp, "Error %d writing to log\n", error); } - bio_for_each_segment(bvec, bio, i) { + bio_for_each_segment_all(bvec, bio, i) { page = bvec->bv_page; if (page_has_buffers(page)) gfs2_end_log_write_bh(sdp, bvec, error);