diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/bmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 1e56f4de7358..93fa427bb5f5 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -93,10 +93,10 @@ static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, | |||
93 | map_bh(bh, inode->i_sb, block); | 93 | map_bh(bh, inode->i_sb, block); |
94 | 94 | ||
95 | set_buffer_uptodate(bh); | 95 | set_buffer_uptodate(bh); |
96 | if (sdp->sd_args.ar_data == GFS2_DATA_ORDERED || gfs2_is_jdata(ip)) | ||
97 | gfs2_trans_add_bh(ip->i_gl, bh, 0); | ||
98 | if (!gfs2_is_jdata(ip)) | 96 | if (!gfs2_is_jdata(ip)) |
99 | mark_buffer_dirty(bh); | 97 | mark_buffer_dirty(bh); |
98 | if (sdp->sd_args.ar_data == GFS2_DATA_ORDERED || gfs2_is_jdata(ip)) | ||
99 | gfs2_trans_add_bh(ip->i_gl, bh, 0); | ||
100 | 100 | ||
101 | if (release) { | 101 | if (release) { |
102 | unlock_page(page); | 102 | unlock_page(page); |