Skip to content

Commit

Permalink
GFS2: Fix typo in gfs2_log_end_write loop
Browse files Browse the repository at this point in the history
There was a missing _all in this loop iterator

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed May 24, 2013
1 parent 75f96ce commit e97e548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/lops.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit e97e548

Please sign in to comment.