]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] page_mapping race fix
authorAndrew Morton <akpm@osdl.org>
Wed, 5 May 2004 01:16:42 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 5 May 2004 01:16:42 +0000 (18:16 -0700)
From: Hugh Dickins <hugh@veritas.com>

Remove this development-only debug code - Hugh thinks that its BUG_ON() can
trigger by accident.

mm/rmap.c

index 24e09e3bb082c905e86640e1d01fc21f6f49ae66..5577805ae992b6b60533441a5cb89bdad7327007 100644 (file)
--- 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)
 {