]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
ChangeLog, journal.c:
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2001 20:21:25 +0000 (20:21 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2001 20:21:25 +0000 (20:21 +0000)
  journal.c: Code cleanup; initialize journal_enable_debug using an
   initializer.

e2fsck/ChangeLog
e2fsck/journal.c

index a9384443b8c4743135695649e53385fed2783a04..60cd802f5c96c7356c111db0caf3190c33cfb700 100644 (file)
@@ -1,3 +1,8 @@
+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
index a2d5c7731a3f036c69dcf351a98ed7124a1dcd13..2b5260f750c251e5ba79e27e239db7d93a6fe4d8 100644 (file)
@@ -25,9 +25,9 @@
 #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
@@ -483,9 +483,6 @@ int e2fsck_check_ext3_journal(e2fsck_t ctx)
            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;