mtd/fs/jffs2 debug.h,1.18,1.19
Artem Bityutskiy
dedekind at infradead.org
Mon Oct 24 12:20:58 EDT 2005
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv9248
Modified Files:
debug.h
Log Message:
[JFFS2] Fix broken compilation at debug level 2
Index: debug.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/debug.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- debug.h 21 Sep 2005 10:26:26 -0000 1.18
+++ debug.h 24 Oct 2005 16:20:55 -0000 1.19
@@ -15,11 +15,12 @@
#include <linux/config.h>
+#define CONFIG_JFFS2_FS_DEBUG 2
#ifndef CONFIG_JFFS2_FS_DEBUG
#define CONFIG_JFFS2_FS_DEBUG 0
#endif
-#if CONFIG_JFFS2_FS_DEBUG == 1
+#if CONFIG_JFFS2_FS_DEBUG > 0
/* Enable "paranoia" checks and dumps */
#define JFFS2_DBG_PARANOIA_CHECKS
#define JFFS2_DBG_DUMPS
@@ -37,7 +38,7 @@
#define JFFS2_DBG_FSBUILD_MESSAGES
#endif
-#if CONFIG_JFFS2_FS_DEBUG == 2
+#if CONFIG_JFFS2_FS_DEBUG > 1
#define JFFS2_DBG_FRAGTREE2_MESSAGES
#define JFFS2_DBG_MEMALLOC_MESSAGES
#endif
More information about the linux-mtd-cvs
mailing list