aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-03-13 14:02:53 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-03-13 14:02:53 -0400
commitd3f58ef166dea70f1e3e7a09b19c3ec964eb1730 (patch)
tree9cb13d8a960bf466ac3a681558d0baa9de7b231f
parent5084088215242e5839fa482dd25e06a127aba311 (diff)
downloade2fsprogs-d3f58ef166dea70f1e3e7a09b19c3ec964eb1730.tar.gz
e2fsprogs-d3f58ef166dea70f1e3e7a09b19c3ec964eb1730.tar.xz
e2fsprogs-d3f58ef166dea70f1e3e7a09b19c3ec964eb1730.zip
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" <tytso@mit.edu>
-rw-r--r--e2fsck/recovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e2fsck/recovery.c b/e2fsck/recovery.c
index 34c9e599..bdfcd193 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,