mm: rotate_reclaimable_page() cleanup
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 28 Apr 2008 09:12:38 +0000 (02:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:20 +0000 (08:58 -0700)
commitac6aadb24b7d4f0e54246732e221c102073412bf
tree1936c3e847fca977b8c0d650416c66655f7633ad
parentf05111f50105ac479a008cf85749cf9c956453ea
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>
include/linux/swap.h
mm/filemap.c
mm/swap.c