diff options
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r-- | fs/gfs2/meta_io.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index 1a89afb68472..0da390686c08 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c | |||
@@ -296,10 +296,6 @@ void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int | |||
296 | if (bd) { | 296 | if (bd) { |
297 | spin_lock(&sdp->sd_ail_lock); | 297 | spin_lock(&sdp->sd_ail_lock); |
298 | if (bd->bd_tr) { | 298 | if (bd->bd_tr) { |
299 | gfs2_remove_from_ail(bd); | ||
300 | bh->b_private = NULL; | ||
301 | bd->bd_bh = NULL; | ||
302 | bd->bd_blkno = bh->b_blocknr; | ||
303 | gfs2_trans_add_revoke(sdp, bd); | 299 | gfs2_trans_add_revoke(sdp, bd); |
304 | } | 300 | } |
305 | spin_unlock(&sdp->sd_ail_lock); | 301 | spin_unlock(&sdp->sd_ail_lock); |