summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirk True <kernel@kirkandsheila.com>2006-03-25 12:07:47 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 17:22:56 +0100
commitc1f5a1944657ba6abe375e3bb2a3238a46849f70 (patch)
tree64f29ea3474ee2cc89e7212771f2509ba7ea3693
parent[PATCH] kallsyms: handle malloc() failure (diff)
downloadlinux-c1f5a1944657ba6abe375e3bb2a3238a46849f70.tar.xz
linux-c1f5a1944657ba6abe375e3bb2a3238a46849f70.zip
[PATCH] ext3: Fix debug logging-only compilation error
When EXT3FS_DEBUG is #define-d, the compile breaks due to #include file issues. Signed-off-by: Kirk True <kernel@kirkandsheila.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/ext3/bitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext3/bitmap.c b/fs/ext3/bitmap.c
index cb16b4c5d5df..ce4f82b9e528 100644
--- a/fs/ext3/bitmap.c
+++ b/fs/ext3/bitmap.c
@@ -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};