lkml.org 
[lkml]   [2006]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] ext3: Fix debug logging-only compilation error
From
Date
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@kirkandsheila.com>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-10 10:00    [W:0.017 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site