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/linux/swap.h | |
parent | f05111f50105ac479a008cf85749cf9c956453ea (diff) | |
download | op-kernel-dev-ac6aadb24b7d4f0e54246732e221c102073412bf.zip op-kernel-dev-ac6aadb24b7d4f0e54246732e221c102073412bf.tar.gz |
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/linux/swap.h')
-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 4286e7a..0b33776 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 */ |