Whamcloud - gitweb
Fix build failure if --config-jbd-debug isn't enabled
authorTheodore Ts'o <tytso@mit.edu>
Sun, 17 Apr 2016 04:23:48 +0000 (00:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 17 Apr 2016 04:23:48 +0000 (00:23 -0400)
This fixes a bug that was introduced recently in commit 1fc23b5e77.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/kernel-jbd.h

index c1fec3f..092a50b 100644 (file)
@@ -46,7 +46,7 @@ extern int journal_enable_debug;
        } while (0)
 #else
 #ifdef __GNUC__
-#ifdef __KERNEL__
+#if defined(__KERNEL__) || !defined(CONFIG_JBD_DEBUG)
 #define jbd_debug(f, a...)     /**/
 #else
 extern int journal_enable_debug;