diff options
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index e44d245d51d4..2a98cbe3290f 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c | |||
@@ -248,13 +248,13 @@ static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) | |||
248 | struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); | 248 | struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); |
249 | 249 | ||
250 | if (error) { | 250 | if (error) { |
251 | gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); | 251 | gfs2_meta_sync(ip->i_gl); |
252 | return; | 252 | return; |
253 | } | 253 | } |
254 | if (pass != 1) | 254 | if (pass != 1) |
255 | return; | 255 | return; |
256 | 256 | ||
257 | gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); | 257 | gfs2_meta_sync(ip->i_gl); |
258 | 258 | ||
259 | fs_info(sdp, "jid=%u: Replayed %u of %u blocks\n", | 259 | fs_info(sdp, "jid=%u: Replayed %u of %u blocks\n", |
260 | jd->jd_jid, sdp->sd_replayed_blocks, sdp->sd_found_blocks); | 260 | jd->jd_jid, sdp->sd_replayed_blocks, sdp->sd_found_blocks); |
@@ -726,15 +726,14 @@ static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) | |||
726 | struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); | 726 | struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); |
727 | 727 | ||
728 | if (error) { | 728 | if (error) { |
729 | gfs2_meta_sync(ip->i_gl, | 729 | gfs2_meta_sync(ip->i_gl); |
730 | DIO_START | DIO_WAIT); | ||
731 | return; | 730 | return; |
732 | } | 731 | } |
733 | if (pass != 1) | 732 | if (pass != 1) |
734 | return; | 733 | return; |
735 | 734 | ||
736 | /* data sync? */ | 735 | /* data sync? */ |
737 | gfs2_meta_sync(ip->i_gl, DIO_START | DIO_WAIT); | 736 | gfs2_meta_sync(ip->i_gl); |
738 | 737 | ||
739 | fs_info(sdp, "jid=%u: Replayed %u of %u data blocks\n", | 738 | fs_info(sdp, "jid=%u: Replayed %u of %u data blocks\n", |
740 | jd->jd_jid, sdp->sd_replayed_blocks, sdp->sd_found_blocks); | 739 | jd->jd_jid, sdp->sd_replayed_blocks, sdp->sd_found_blocks); |