Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83097
b: refs/heads/master
c: a2b3456
h: refs/heads/master
i:
  83095: b64a211
v: v3
  • Loading branch information
Bjorn Steinbrink authored and Linus Torvalds committed Feb 5, 2008
1 parent 99ec2cc commit 2166e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ae1276b9349a2fd9c3afb4651e25a77ac03299d9
refs/heads/master: a2b345642f530054a92b8d2b5108436225a8093e
4 changes: 2 additions & 2 deletions trunk/mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ truncate_complete_page(struct address_space *mapping, struct page *page)
if (page->mapping != mapping)
return;

cancel_dirty_page(page, PAGE_CACHE_SIZE);

if (PagePrivate(page))
do_invalidatepage(page, 0);

cancel_dirty_page(page, PAGE_CACHE_SIZE);

remove_from_page_cache(page);
ClearPageUptodate(page);
ClearPageMappedToDisk(page);
Expand Down

0 comments on commit 2166e09

Please sign in to comment.