Whamcloud - gitweb
ChangeLog, journal.c:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Dec 2000 06:47:56 +0000 (06:47 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Dec 2000 06:47:56 +0000 (06:47 +0000)
  journal.c (e2fsck_check_ext3_journal): If JFS_DEBUG is defined at the
   top level, set the JFS debuging level to 2.

e2fsck/ChangeLog
e2fsck/journal.c

index 55e94a8..eea41b0 100644 (file)
@@ -1,5 +1,8 @@
 2000-12-09    <tytso@snap.thunk.org>
 
+       * journal.c (e2fsck_check_ext3_journal): If JFS_DEBUG is defined
+               at the top level, set the JFS debuging level to 2.
+
        * jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h.  The jfs.h file
                has been moved to the include/linux directory.
 
index fd9ed49..c904333 100644 (file)
@@ -478,6 +478,9 @@ int e2fsck_check_ext3_journal(e2fsck_t ctx)
        if (!(s->s_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL))
                return 0;
 
+#ifdef JFS_DEBUG
+       journal_enable_debug = 2;
+#endif
        clear_problem_context(&pctx);
        pctx.num = s->s_journal_inum;