Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320972
b: refs/heads/master
c: 3ca9c3b
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara authored and Al Viro committed Jul 30, 2012
1 parent 6d0381b commit 80e9ca9
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: 5e8830dc85d0a6258132977381430b327cf553f2
refs/heads/master: 3ca9c3bd8a55956bee291cda5b224f737b0d0cfe
3 changes: 3 additions & 0 deletions trunk/fs/ceph/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,9 @@ static int ceph_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
loff_t size, len;
int ret;

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

size = i_size_read(inode);
if (off + PAGE_CACHE_SIZE <= size)
len = PAGE_CACHE_SIZE;
Expand Down

0 comments on commit 80e9ca9

Please sign in to comment.