Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169206
b: refs/heads/master
c: 9ae3c6d
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Marzinski authored and Steven Whitehouse committed Dec 3, 2009
1 parent a5317e6 commit 3845c8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ab7d13fcbd7ce1658c563e345990ba453719deb
refs/heads/master: 9ae3c6de6981a1e8765b5d029f94555fc0f0fea0
8 changes: 6 additions & 2 deletions trunk/fs/gfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,10 @@ static int gfs2_stuffed_write_end(struct inode *inode, struct buffer_head *dibh,
mark_inode_dirty(inode);
}

if (inode == sdp->sd_rindex)
if (inode == sdp->sd_rindex) {
adjust_fs_space(inode);
ip->i_gh.gh_flags |= GL_NOCACHE;
}

brelse(dibh);
gfs2_trans_end(sdp);
Expand Down Expand Up @@ -889,8 +891,10 @@ static int gfs2_write_end(struct file *file, struct address_space *mapping,
mark_inode_dirty(inode);
}

if (inode == sdp->sd_rindex)
if (inode == sdp->sd_rindex) {
adjust_fs_space(inode);
ip->i_gh.gh_flags |= GL_NOCACHE;
}

brelse(dibh);
gfs2_trans_end(sdp);
Expand Down

0 comments on commit 3845c8a

Please sign in to comment.