From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4820272C.4060009@cn.fujitsu.com> Date: Tue, 06 May 2008 17:38:52 +0800 From: Li Zefan MIME-Version: 1.0 Subject: [PATCH] mm/page_alloc.c: fix a typo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: clameter@sgi.com, LKML , "linux-mm@kvack.org" List-ID: --- mm/page_alloc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index bdd5c43..d0ba10d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -303,7 +303,7 @@ static void destroy_compound_page(struct page *page, unsigned long order) for (i = 1; i < nr_pages; i++) { struct page *p = page + i; - if (unlikely(!PageTail(p) | + if (unlikely(!PageTail(p) || (p->first_page != page))) bad_page(page); __ClearPageTail(p); -- 1.5.4.rc3 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org