diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-12-18 13:36:33 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-12-18 13:36:33 -0500 |
commit | 9a4f6271b68b9693290963b97b320d2e6e6f3446 (patch) | |
tree | 44113f838fe7b0bacf590d81ff170fc41fcec9bd /fs/jbd2/recovery.c | |
parent | ae00b267f3827ba88309fb74bdf7527396f0acf9 (diff) |
jbd2: move debug message into debug #ifdef
This is a port to jbd2 of a patch which Namhyung Kim <namhyung@gmail.com>
originally made to fs/jbd.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/recovery.c')
-rw-r--r-- | fs/jbd2/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 2bc4d5f116f1..1cad869494f0 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c | |||
@@ -299,10 +299,10 @@ int jbd2_journal_skip_recovery(journal_t *journal) | |||
299 | #ifdef CONFIG_JBD2_DEBUG | 299 | #ifdef CONFIG_JBD2_DEBUG |
300 | int dropped = info.end_transaction - | 300 | int dropped = info.end_transaction - |
301 | be32_to_cpu(journal->j_superblock->s_sequence); | 301 | be32_to_cpu(journal->j_superblock->s_sequence); |
302 | #endif | ||
303 | jbd_debug(1, | 302 | jbd_debug(1, |
304 | "JBD: ignoring %d transaction%s from the journal.\n", | 303 | "JBD: ignoring %d transaction%s from the journal.\n", |
305 | dropped, (dropped == 1) ? "" : "s"); | 304 | dropped, (dropped == 1) ? "" : "s"); |
305 | #endif | ||
306 | journal->j_transaction_sequence = ++info.end_transaction; | 306 | journal->j_transaction_sequence = ++info.end_transaction; |
307 | } | 307 | } |
308 | 308 | ||