UBIFS: amend recovery debugging message

Print LEB and offset as well.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Artem Bityutskiy 2012-01-16 12:10:56 +02:00
parent 6b21d18ed5
commit 78437368c8

View File

@ -679,7 +679,8 @@ struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
ret == SCANNED_GARBAGE || ret == SCANNED_GARBAGE ||
ret == SCANNED_A_BAD_PAD_NODE || ret == SCANNED_A_BAD_PAD_NODE ||
ret == SCANNED_A_CORRUPT_NODE) { ret == SCANNED_A_CORRUPT_NODE) {
dbg_rcvry("found corruption - %d", ret); dbg_rcvry("found corruption (%d) at %d:%d",
ret, lnum, offs);
break; break;
} else { } else {
dbg_err("unexpected return value %d", ret); dbg_err("unexpected return value %d", ret);