GFS2: Fix typo in gfs2_log_end_write loop
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 21 May 2013 11:49:07 +0000 (12:49 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 24 May 2013 12:48:09 +0000 (13:48 +0100)
There was a missing _all in this loop iterator

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/lops.c

index c5fa758fd8446e1938036be9cdedaf75e2bc552b..68b4c8f1fce8568668bb9a8db82a321e6fe56e25 100644 (file)
@@ -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);