Commit 120c2bca authored by Jan Kara's avatar Jan Kara Committed by Al Viro
Browse files

9p: Push file_update_time() into v9fs_vm_page_mkwrite()

CC: Eric Van Hensbergen <>
CC: Ron Minnich <>
CC: Latchesar Ionkov <>
Signed-off-by: default avatarJan Kara <>
Signed-off-by: default avatarAl Viro <>
parent 3ca9c3bd
......@@ -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 */
v9inode = V9FS_I(inode);
/* make sure the cache has finished storing the page */
v9fs_fscache_wait_on_page_write(inode, page);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment