#ifndef _JFFS2_DEBUG_H_
#define _JFFS2_DEBUG_H_
+#include <linux/config.h>
#ifndef CONFIG_JFFS2_FS_DEBUG
#define CONFIG_JFFS2_FS_DEBUG 0
#define dbg_memalloc(fmt, ...)
#endif
-/* Watch the XATTR subsystem */
-#ifdef JFFS2_DBG_XATTR_MESSAGES
-#define dbg_xattr(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
-#else
-#define dbg_xattr(fmt, ...)
-#endif
/* "Sanity" checks */
void