Displaying 1 result from an estimated 1 matches for "28b8c3f".
Did you mean:
283863f
2011 Nov 29
3
[PATCH] fs: push file_update_time into ->page_mkwrite
...nt gfs2_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
struct gfs2_alloc *al;
int ret;
+ file_update_time(vma->vm_file);
gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
ret = gfs2_glock_nq(&gh);
if (ret)
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 28b8c3f..bfa0c48 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -571,6 +571,7 @@ static int nfs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
filp->f_mapping->host->i_ino,
(long long)page_offset(page));
+ file_update_time(filp);
/* make sure the cache has finished...