From: Theodore Ts'o Date: Wed, 13 Mar 2013 18:02:53 +0000 (-0400) Subject: e2fsck: fix build failure with --enable-jbd-debug X-Git-Tag: v1.42.8~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f58ef166dea70f1e3e7a09b19c3ec964eb1730;p=thirdparty%2Fe2fsprogs.git e2fsck: fix build failure with --enable-jbd-debug Commit e3507739e4185 introduced a build failure if e2fsprogs is configured with --enable-jbd-debug. Fix this. Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/recovery.c b/e2fsck/recovery.c index 34c9e5997..bdfcd1939 100644 --- a/e2fsck/recovery.c +++ b/e2fsck/recovery.c @@ -294,6 +294,8 @@ int journal_skip_recovery(journal_t *journal) ++journal->j_transaction_sequence; } else { #ifdef CONFIG_JBD_DEBUG + journal_superblock_t *sb = journal->j_superblock; + int dropped = info.end_transaction - be32_to_cpu(sb->s_sequence); #endif jbd_debug(1,