We only call pageout() for dirty pages, so this test is redundant.
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- 25-akpm/mm/vmscan.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/vmscan.c~vmscan-pageout-remove-unneeded-test mm/vmscan.c --- 25/mm/vmscan.c~vmscan-pageout-remove-unneeded-test 2005-04-12 03:21:07.489998248 -0700 +++ 25-akpm/mm/vmscan.c 2005-04-12 03:21:07.493997640 -0700 @@ -318,7 +318,7 @@ static pageout_t pageout(struct page *pa * Some data journaling orphaned pages can have * page->mapping == NULL while being dirty with clean buffers. */ - if (PageDirty(page) && PagePrivate(page)) { + if (PagePrivate(page)) { if (try_to_free_buffers(page)) { ClearPageDirty(page); printk("%s: orphaned page\n", __FUNCTION__); _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/