From: Darrick J. Wong <djwong@xxxxxxxxxx> Not sure why debugging is turned on by default in the xfsprogs cache code, but let's turn it off. Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> --- lib/support/cache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/support/cache.c b/lib/support/cache.c index fe04f62f262aaa..08e0b484cca298 100644 --- a/lib/support/cache.c +++ b/lib/support/cache.c @@ -17,9 +17,8 @@ #include "cache.h" #include "xbitops.h" -#define CACHE_DEBUG 1 #undef CACHE_DEBUG -#define CACHE_DEBUG 1 +/* #define CACHE_DEBUG 1 */ #undef CACHE_ABORT /* #define CACHE_ABORT 1 */ @@ -28,6 +27,8 @@ #ifdef CACHE_DEBUG # include <assert.h> # define ASSERT(x) assert(x) +#else +# define ASSERT(x) do { } while (0) #endif static unsigned int cache_generic_bulkrelse(struct cache *, struct list_head *);