Blame SOURCES/xfsprogs-3.2.0-xfs_db-quiet.patch

0690ef
[PATCH] xfs_db: hide debug bbmap output
0690ef
0690ef
Most of xfsprogs building with DEBUG enables extra
0690ef
checks, asserts, etc, but this bunch of printfs was
0690ef
extra output that's not generally helpful for most
0690ef
people's runtime experience - and it breaks xfs/290
0690ef
with all the noise.
0690ef
0690ef
I assume it's for actual debugging use, and not
0690ef
generally useful, so bury it a bit deeper under
0690ef
it's own #ifdef.
0690ef
0690ef
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
0690ef
---
0690ef
0690ef
diff --git a/db/io.c b/db/io.c
0690ef
index 9a787c8..89e6030 100644
0690ef
--- a/db/io.c
0690ef
+++ b/db/io.c
0690ef
@@ -500,7 +500,7 @@ set_cur(
0690ef
 	push_cur();
0690ef
 
0690ef
 	if (bbmap) {
0690ef
-#ifdef DEBUG
0690ef
+#ifdef DEBUG_BBMAP
0690ef
 		int i;
0690ef
 		printf(_("xfs_db got a bbmap for %lld\n"), (long long)d);
0690ef
 		printf(_("\tblock map"));
0690ef