Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73974
b: refs/heads/master
c: ce7e9fa
h: refs/heads/master
v: v3
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Nov 20, 2007
1 parent 8e4ed1b commit 969191a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: b8e7a54cd06b0b0174029ef3a7f5a1415a2c28f2
refs/heads/master: ce7e9fae8db07af4080e868f4588f8f095f803dc
9 changes: 5 additions & 4 deletions trunk/mm/rmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,12 @@ int page_mkclean(struct page *page)

if (page_mapped(page)) {
struct address_space *mapping = page_mapping(page);
if (mapping)
if (mapping) {
ret = page_mkclean_file(mapping, page);
if (page_test_dirty(page)) {
page_clear_dirty(page);
ret = 1;
if (page_test_dirty(page)) {
page_clear_dirty(page);
ret = 1;
}
}
}

Expand Down

0 comments on commit 969191a

Please sign in to comment.