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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Version: 2.6.16-rc5

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

        Signed-off-by: Kirk True <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux