Skip to content

Commit

Permalink
UBIFS: amend recovery debugging message
Browse files Browse the repository at this point in the history
Print LEB and offset as well.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
  • Loading branch information
Artem Bityutskiy committed Feb 29, 2012
1 parent 6b21d18 commit 7843736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/ubifs/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
ret == SCANNED_GARBAGE ||
ret == SCANNED_A_BAD_PAD_NODE ||
ret == SCANNED_A_CORRUPT_NODE) {
dbg_rcvry("found corruption - %d", ret);
dbg_rcvry("found corruption (%d) at %d:%d",
ret, lnum, offs);
break;
} else {
dbg_err("unexpected return value %d", ret);
Expand Down

0 comments on commit 7843736

Please sign in to comment.