File lvm2-2_02_84-revert-memory-debugging-optimalisation.patch of Package lvm2

 WHATS_NEW_DM          |    4 ++++
 libdm/mm/dbg_malloc.c |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 775ea2c..3cf0564 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,3 +1,7 @@
+Version 1.02.63 - 9th February 2011
+===================================
+  Reinstate DEBUG_MEM as it's part of the API. (1.02.62)
+
 Version 1.02.62 - 4th February 2011
 ===================================
   Add configure --with-device-nodes-on=create for previous behaviour.
diff --git a/libdm/mm/dbg_malloc.c b/libdm/mm/dbg_malloc.c
index 5f06d1e..db7f5f3 100644
--- a/libdm/mm/dbg_malloc.c
+++ b/libdm/mm/dbg_malloc.c
@@ -15,8 +15,6 @@
 
 #include "dmlib.h"
 
-#ifdef DEBUG_MEM
-
 #include <assert.h>
 #include <stdarg.h>
 
@@ -251,8 +249,6 @@ void dm_bounds_check_debug(void)
 	}
 }
 
-#endif
-
 void *dm_malloc_aux(size_t s, const char *file __attribute__((unused)),
 		    int line __attribute__((unused)))
 {
openSUSE Build Service is sponsored by