aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r--fs/gfs2/meta_io.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index a5630ec6c045..6b52aacb0736 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -120,8 +120,7 @@ void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
120 gfs2_io_error_bh(sdp, bh); 120 gfs2_io_error_bh(sdp, bh);
121 gfs2_log_lock(sdp); 121 gfs2_log_lock(sdp);
122 } 122 }
123 list_move(&bd->bd_ail_st_list, 123 list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list);
124 &ai->ai_ail2_list);
125 continue; 124 continue;
126 } 125 }
127 126
@@ -411,9 +410,6 @@ int gfs2_meta_reread(struct gfs2_sbd *sdp, struct buffer_head *bh, int flags)
411 if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) 410 if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags)))
412 return -EIO; 411 return -EIO;
413 412
414 if (flags & DIO_FORCE)
415 clear_buffer_uptodate(bh);
416
417 if ((flags & DIO_START) && !buffer_uptodate(bh)) 413 if ((flags & DIO_START) && !buffer_uptodate(bh))
418 ll_rw_block(READ, 1, &bh); 414 ll_rw_block(READ, 1, &bh);
419 415