From: Theodore Ts'o Date: Sat, 18 Dec 2010 18:36:33 +0000 (-0500) Subject: jbd2: move debug message into debug #ifdef X-Git-Tag: 2.1b_release~5880^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a4f6271b68b9693290963b97b320d2e6e6f3446;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git jbd2: move debug message into debug #ifdef This is a port to jbd2 of a patch which Namhyung Kim originally made to fs/jbd. Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 2bc4d5f..1cad869 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c @@ -299,10 +299,10 @@ int jbd2_journal_skip_recovery(journal_t *journal) #ifdef CONFIG_JBD2_DEBUG int dropped = info.end_transaction - be32_to_cpu(journal->j_superblock->s_sequence); -#endif jbd_debug(1, "JBD: ignoring %d transaction%s from the journal.\n", dropped, (dropped == 1) ? "" : "s"); +#endif journal->j_transaction_sequence = ++info.end_transaction; }