diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-04-28 02:12:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:20 -0700 |
commit | ac6aadb24b7d4f0e54246732e221c102073412bf (patch) | |
tree | 1936c3e847fca977b8c0d650416c66655f7633ad /include | |
parent | f05111f50105ac479a008cf85749cf9c956453ea (diff) | |
download | linux-ac6aadb24b7d4f0e54246732e221c102073412bf.tar.gz linux-ac6aadb24b7d4f0e54246732e221c102073412bf.tar.bz2 linux-ac6aadb24b7d4f0e54246732e221c102073412bf.zip |
mm: rotate_reclaimable_page() cleanup
Clean up messy conditional calling of test_clear_page_writeback() from both
rotate_reclaimable_page() and end_page_writeback().
The only user of rotate_reclaimable_page() is end_page_writeback() so this is
OK.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index 4286e7ac2b00..0b3377650c85 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -177,7 +177,7 @@ extern void activate_page(struct page *); extern void mark_page_accessed(struct page *); extern void lru_add_drain(void); extern int lru_add_drain_all(void); -extern int rotate_reclaimable_page(struct page *page); +extern void rotate_reclaimable_page(struct page *page); extern void swap_setup(void); /* linux/mm/vmscan.c */ |