diff options
Diffstat (limited to 'fs/jffs2/debug.h')
-rw-r--r-- | fs/jffs2/debug.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h index 162af6dfe29..3daf3bca037 100644 --- a/fs/jffs2/debug.h +++ b/fs/jffs2/debug.h @@ -13,7 +13,6 @@ #ifndef _JFFS2_DEBUG_H_ #define _JFFS2_DEBUG_H_ -#include <linux/config.h> #ifndef CONFIG_JFFS2_FS_DEBUG #define CONFIG_JFFS2_FS_DEBUG 0 @@ -171,6 +170,12 @@ #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 |