diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-01-16 05:10:56 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-02-29 09:10:20 -0500 |
commit | 78437368c8d9c8dc13461c689d13369f64e4522c (patch) | |
tree | 740e8c45103df1470f59ac62c4ea6e8bbcd19397 /fs/ubifs/recovery.c | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) |
UBIFS: amend recovery debugging message
Print LEB and offset as well.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/recovery.c')
-rw-r--r-- | fs/ubifs/recovery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c index ee4f43f4bb99..2a935b317232 100644 --- a/fs/ubifs/recovery.c +++ b/fs/ubifs/recovery.c | |||
@@ -679,7 +679,8 @@ struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, | |||
679 | ret == SCANNED_GARBAGE || | 679 | ret == SCANNED_GARBAGE || |
680 | ret == SCANNED_A_BAD_PAD_NODE || | 680 | ret == SCANNED_A_BAD_PAD_NODE || |
681 | ret == SCANNED_A_CORRUPT_NODE) { | 681 | ret == SCANNED_A_CORRUPT_NODE) { |
682 | dbg_rcvry("found corruption - %d", ret); | 682 | dbg_rcvry("found corruption (%d) at %d:%d", |
683 | ret, lnum, offs); | ||
683 | break; | 684 | break; |
684 | } else { | 685 | } else { |
685 | dbg_err("unexpected return value %d", ret); | 686 | dbg_err("unexpected return value %d", ret); |