From: Theodore Ts'o Date: Sun, 13 May 2001 20:21:25 +0000 (+0000) Subject: ChangeLog, journal.c: X-Git-Tag: E2FSPROGS-1_20~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328a5ce4ae7bd30a3a57094531bcb6688207415e;p=thirdparty%2Fe2fsprogs.git ChangeLog, journal.c: journal.c: Code cleanup; initialize journal_enable_debug using an initializer. --- diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index a9384443b..60cd802f5 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +2001-05-13 Theodore Tso + + * journal.c: Code cleanup; initialize journal_enable_debug using + an initializer. + 2001-05-12 Theodore Tso * unix.c (PRS): Skip validation of -C's file descriptor if it is diff --git a/e2fsck/journal.c b/e2fsck/journal.c index a2d5c7731..2b5260f75 100644 --- a/e2fsck/journal.c +++ b/e2fsck/journal.c @@ -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;