aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-20 15:48:09 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-20 15:48:09 -0400
commit56965536b8056f57830219efbba4b85218d96d6c (patch)
tree7fe7553bb716bdb00c411f013cb0eed8a6b72ef6 /fs/gfs2/meta_io.c
parentf0e522a901f209d55992a20f4e30123b43af37dd (diff)
[GFS2] Remove unused constants
Three of the DIO constants were not being used, so remove them. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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 a5630ec6c04..6b52aacb073 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)
gfs2_io_error_bh(sdp, bh);
gfs2_log_lock(sdp);
}
- list_move(&bd->bd_ail_st_list,
- &ai->ai_ail2_list);
+ list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list);
continue;
}
@@ -411,9 +410,6 @@ int gfs2_meta_reread(struct gfs2_sbd *sdp, struct buffer_head *bh, int flags)
if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags)))
return -EIO;
- if (flags & DIO_FORCE)
- clear_buffer_uptodate(bh);
-
if ((flags & DIO_START) && !buffer_uptodate(bh))
ll_rw_block(READ, 1, &bh);