Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56997
b: refs/heads/master
c: 1024c90
h: refs/heads/master
i:
  56995: cbe8df5
v: v3
  • Loading branch information
Mark Fasheh committed May 25, 2007
1 parent 33eb430 commit 9150bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e9dfc0b2bc42761410e8db6c252c6c5889e178b8
refs/heads/master: 1024c902abdcbd2425aa850d7ef04e013ffb35f0
1 change: 1 addition & 0 deletions trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ static int ocfs2_truncate_file(struct inode *inode,
(unsigned long long)OCFS2_I(inode)->ip_blkno,
(unsigned long long)new_i_size);

unmap_mapping_range(inode->i_mapping, new_i_size + PAGE_SIZE - 1, 0, 1);
truncate_inode_pages(inode->i_mapping, new_i_size);

fe = (struct ocfs2_dinode *) di_bh->b_data;
Expand Down

0 comments on commit 9150bb3

Please sign in to comment.