tree d1ece2a5bd91f56981f7773f264843828e9b71c6 parent 79befd0c08c4766f8fa27e37ac2a70e40840a56a author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:24:06 -0700 committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:24:06 -0700
[PATCH] vmscan: pageout(): remove unneeded test ) We only call pageout() for dirty pages, so this test is redundant. Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> vmscan.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: mm/vmscan.c =================================================================== --- d0600c289b1a54902e3b78eec0729dc7011569a3/mm/vmscan.c (mode:100644 sha1:4003c0518d28ec7e74c4fa67cca270093c17f302) +++ d1ece2a5bd91f56981f7773f264843828e9b71c6/mm/vmscan.c (mode:100644 sha1:269eded9b459804a8f090ea8dad0b908a4afef0d) @@ -318,7 +318,7 @@ * 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 bk-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html