Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ce779
)
Fix build failure if --config-jbd-debug isn't enabled
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 17 Apr 2016 04:23:48 +0000
(
00:23
-0400)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/lib/ext2fs/kernel-jbd.h
b/lib/ext2fs/kernel-jbd.h
index
c1fec3f
..
092a50b
100644
(file)
--- a/
lib/ext2fs/kernel-jbd.h
+++ b/
lib/ext2fs/kernel-jbd.h
@@
-46,7
+46,7
@@
extern int journal_enable_debug;
} while (0)
#else
#ifdef __GNUC__
-#if
def __KERNEL__
+#if
defined(__KERNEL__) || !defined(CONFIG_JBD_DEBUG)
#define jbd_debug(f, a...) /**/
#else
extern int journal_enable_debug;