journal.c: Code cleanup; initialize journal_enable_debug using an
initializer.
+2001-05-13 Theodore Tso <tytso@valinux.com>
+
+ * journal.c: Code cleanup; initialize journal_enable_debug using
+ an initializer.
+
2001-05-12 Theodore Tso <tytso@valinux.com>
* unix.c (PRS): Skip validation of -C's file descriptor if it is
#include "problem.h"
#include "uuid/uuid.h"
-#ifdef JFS_DEBUG
+#ifdef JFS_DEBUG /* Enabled by configure --enable-jfs-debug */
static int bh_count = 0;
-int journal_enable_debug = 0;
+int journal_enable_debug = 2;
#endif
/* Kernel compatibility functions for handling the journal. These allow us
uuid_is_null(sb->s_journal_uuid))
return 0;
-#ifdef JFS_DEBUG /* Enabled by configure --enable-jfs-debug */
- journal_enable_debug = 2;
-#endif
clear_problem_context(&pctx);
pctx.num = sb->s_journal_inum;