Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320974
b: refs/heads/master
c: a63e9b2
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara authored and Al Viro committed Jul 30, 2012
1 parent 31128a4 commit 143e0c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 120c2bcad80c0f7c6691ad70f7fb1e709854d725
refs/heads/master: a63e9b2e76632b3ccb0f33f43484c0c64d601849
3 changes: 3 additions & 0 deletions trunk/fs/gfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ static int gfs2_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
*/
vfs_check_frozen(inode->i_sb, SB_FREEZE_WRITE);

/* Update file times before taking page lock */
file_update_time(vma->vm_file);

gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ret = gfs2_glock_nq(&gh);
if (ret)
Expand Down

0 comments on commit 143e0c7

Please sign in to comment.