From: Andrew Morton Date: Wed, 5 May 2004 01:16:42 +0000 (-0700) Subject: [PATCH] page_mapping race fix X-Git-Tag: v2.6.6~10^2~7^2~5 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=fb2fc47c4dd051833153801b4de2ee7e1b8b8917;p=history.git [PATCH] page_mapping race fix From: Hugh Dickins Remove this development-only debug code - Hugh thinks that its BUG_ON() can trigger by accident. --- diff --git a/mm/rmap.c b/mm/rmap.c index 24e09e3bb082..5577805ae992 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -39,7 +39,7 @@ * Something oopsable to put for now in the page->mapping * of an anonymous page, to test that it is ignored. */ -#define ANON_MAPPING_DEBUG ((struct address_space *) 0xADB) +#define ANON_MAPPING_DEBUG ((struct address_space *) 0) static inline void clear_page_anon(struct page *page) {