Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14653
b: refs/heads/master
c: 479ef59
h: refs/heads/master
i:
  14651: 3e94416
v: v3
  • Loading branch information
Oleg Drokin authored and Linus Torvalds committed Nov 24, 2005
1 parent 610e9cd commit e1ef829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 02b7068221eed702a37527fa2da4d63a27b3126a
refs/heads/master: 479ef592f3664dd629417098c8599261c0f689ab
6 changes: 3 additions & 3 deletions trunk/mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ int invalidate_inode_pages2_range(struct address_space *mapping,
* Zap the rest of the file in one hit.
*/
unmap_mapping_range(mapping,
page_index << PAGE_CACHE_SHIFT,
(end - page_index + 1)
(loff_t)page_index<<PAGE_CACHE_SHIFT,
(loff_t)(end - page_index + 1)
<< PAGE_CACHE_SHIFT,
0);
did_range_unmap = 1;
Expand All @@ -292,7 +292,7 @@ int invalidate_inode_pages2_range(struct address_space *mapping,
* Just zap this page
*/
unmap_mapping_range(mapping,
page_index << PAGE_CACHE_SHIFT,
(loff_t)page_index<<PAGE_CACHE_SHIFT,
PAGE_CACHE_SIZE, 0);
}
}
Expand Down

0 comments on commit e1ef829

Please sign in to comment.