Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190530
b: refs/heads/master
c: 5c6a2cd
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed May 3, 2010
1 parent 483ed60 commit 5b36b3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae18756b9fa7bb93132cff06cd8575e3d46633f9
refs/heads/master: 5c6a2cdb4fe8aaf6b54f022c14f13d2a12b45914
3 changes: 2 additions & 1 deletion trunk/fs/ceph/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,8 @@ static ssize_t ceph_sync_write(struct file *file, const char __user *data,
* throw out any page cache pages in this range. this
* may block.
*/
truncate_inode_pages_range(inode->i_mapping, pos, pos+len);
truncate_inode_pages_range(inode->i_mapping, pos,
(pos+len) | (PAGE_CACHE_SIZE-1));
} else {
pages = alloc_page_vector(num_pages);
if (IS_ERR(pages)) {
Expand Down

0 comments on commit 5b36b3b

Please sign in to comment.