projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca9c3b
)
9p: Push file_update_time() into v9fs_vm_page_mkwrite()
author
Jan Kara
<
[email protected]
>
Tue, 12 Jun 2012 14:20:25 +0000
(16:20 +0200)
committer
Al Viro
<
[email protected]
>
Mon, 30 Jul 2012 21:02:46 +0000
(
01:02
+0400)
CC: Eric Van Hensbergen <
[email protected]
>
CC: Ron Minnich <
[email protected]
>
CC: Latchesar Ionkov <
[email protected]
>
CC:
[email protected]
Signed-off-by: Jan Kara <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/9p/vfs_file.c
patch
|
blob
|
history
diff --git
a/fs/9p/vfs_file.c
b/fs/9p/vfs_file.c
index fc06fd27065eb3cade2f5e5f60f7155d3487ae80..dd6f7ee1e31258d94dfa1e038d2a272f17ecb541 100644
(file)
--- a/
fs/9p/vfs_file.c
+++ b/
fs/9p/vfs_file.c
@@
-610,6
+610,9
@@
v9fs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
p9_debug(P9_DEBUG_VFS, "page %p fid %lx\n",
page, (unsigned long)filp->private_data);
+ /* Update file times before taking page lock */
+ file_update_time(filp);
+
v9inode = V9FS_I(inode);
/* make sure the cache has finished storing the page */
v9fs_fscache_wait_on_page_write(inode, page);