Skip to content

Commit

Permalink
[GFS2] Don't mark jdata dirty in gfs2_unstuffer_page()
Browse files Browse the repository at this point in the history
Journaled data is marked dirty by gfs2_unpin and should not be marked
dirty here.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Oct 10, 2007
1 parent 1e1a3d0 commit eaf9652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/gfs2/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
set_buffer_uptodate(bh);
if (sdp->sd_args.ar_data == GFS2_DATA_ORDERED || gfs2_is_jdata(ip))
gfs2_trans_add_bh(ip->i_gl, bh, 0);
mark_buffer_dirty(bh);
if (!gfs2_is_jdata(ip))
mark_buffer_dirty(bh);

if (release) {
unlock_page(page);
Expand Down

0 comments on commit eaf9652

Please sign in to comment.