]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46498b8096e7f85fc30b9b905532f0d301f343c2
tree1936c3e847fca977b8c0d650416c66655f7633ad
parent409ee8efe7cd5c2313761deb3353027cb239b295
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