[PATCH] ext3: Fix debug logging-only compilation error

From: Kirk True
Date: Fri Mar 10 2006 - 03:55:36 EST


Version: 2.6.16-rc5

When EXT3FS_DEBUG is #define-d, the compile breaks due to #include file issues.

Signed-off-by: Kirk True <kernel@xxxxxxxxxxxxxxxxx>

--- linux-2.6.16-rc5-orig/fs/ext3/bitmap.c 2006-03-02 23:52:16.000000000 -0800
+++ linux-2.6.16-rc5/fs/ext3/bitmap.c 2006-03-10 00:45:28.000000000 -0800
@@ -7,11 +7,11 @@
* Universite Pierre et Marie Curie (Paris VI)
*/

-#ifdef EXT3FS_DEBUG
-
#include <linux/buffer_head.h>
+#include <linux/jbd.h>
+#include <linux/ext3_fs.h>

-#include "ext3_fs.h"
+#ifdef EXT3FS_DEBUG

static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/