diff options
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r-- | fs/gfs2/glops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index 1656df7aacd2..4bdcf3784187 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c | |||
@@ -94,7 +94,6 @@ static void gfs2_ail_empty_gl(struct gfs2_glock *gl) | |||
94 | /* A shortened, inline version of gfs2_trans_begin() */ | 94 | /* A shortened, inline version of gfs2_trans_begin() */ |
95 | tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64)); | 95 | tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64)); |
96 | tr.tr_ip = (unsigned long)__builtin_return_address(0); | 96 | tr.tr_ip = (unsigned long)__builtin_return_address(0); |
97 | INIT_LIST_HEAD(&tr.tr_list_buf); | ||
98 | gfs2_log_reserve(sdp, tr.tr_reserved); | 97 | gfs2_log_reserve(sdp, tr.tr_reserved); |
99 | BUG_ON(current->journal_info); | 98 | BUG_ON(current->journal_info); |
100 | current->journal_info = &tr; | 99 | current->journal_info = &tr; |
@@ -379,11 +378,6 @@ int gfs2_inode_refresh(struct gfs2_inode *ip) | |||
379 | if (error) | 378 | if (error) |
380 | return error; | 379 | return error; |
381 | 380 | ||
382 | if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), dibh, GFS2_METATYPE_DI)) { | ||
383 | brelse(dibh); | ||
384 | return -EIO; | ||
385 | } | ||
386 | |||
387 | error = gfs2_dinode_in(ip, dibh->b_data); | 381 | error = gfs2_dinode_in(ip, dibh->b_data); |
388 | brelse(dibh); | 382 | brelse(dibh); |
389 | clear_bit(GIF_INVALID, &ip->i_flags); | 383 | clear_bit(GIF_INVALID, &ip->i_flags); |