diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-26 22:09:22 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-26 22:09:22 -0500 |
| commit | 9ccc236269c1a838b58148c94ac0eeeca885b836 (patch) | |
| tree | fbe9c922a21da9e949ecad1fd6eb39420aa58c2a /mm/rmap.c | |
| parent | da457d4b93f9d746b0afd4aa65c94759f190d642 (diff) | |
| parent | c5d4a9997b4b2ec71cff0b219f05c6bc51f3fc79 (diff) | |
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
[S390] cio: Register/unregister subchannels only from kslowcrw.
[S390] Add missing die_notifier() call to die().
[S390] Fix memory detection.
[S390] Explicitly code allocpercpu calls in iucv
[S390] Dont overwrite lowcores on smp_send_stop().
[S390] Optimize storage key handling for anonymous pages
[S390] Fix kernel preemption.
[S390] appldata: remove unused binary sysctls.
[S390] cmm: remove unused binary sysctls.
[S390] Fix irq tracing and lockdep_sys_exit calls.
[S390] magic sysrq: check for in_atomic before doing an console_unblank
[S390] cio: change device sense procedure to work with pav aliases
Diffstat (limited to 'mm/rmap.c')
| -rw-r--r-- | mm/rmap.c | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -471,11 +471,12 @@ int page_mkclean(struct page *page) | |||
| 471 | 471 | ||
| 472 | if (page_mapped(page)) { | 472 | if (page_mapped(page)) { |
| 473 | struct address_space *mapping = page_mapping(page); | 473 | struct address_space *mapping = page_mapping(page); |
| 474 | if (mapping) | 474 | if (mapping) { |
| 475 | ret = page_mkclean_file(mapping, page); | 475 | ret = page_mkclean_file(mapping, page); |
| 476 | if (page_test_dirty(page)) { | 476 | if (page_test_dirty(page)) { |
| 477 | page_clear_dirty(page); | 477 | page_clear_dirty(page); |
| 478 | ret = 1; | 478 | ret = 1; |
| 479 | } | ||
| 479 | } | 480 | } |
| 480 | } | 481 | } |
| 481 | 482 | ||
