summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-01-16 11:10:56 +0100
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-02-29 15:10:20 +0100
commit78437368c8d9c8dc13461c689d13369f64e4522c (patch)
tree740e8c45103df1470f59ac62c4ea6e8bbcd19397 /fs
parentLinux 3.3-rc5 (diff)
downloadlinux-78437368c8d9c8dc13461c689d13369f64e4522c.tar.xz
linux-78437368c8d9c8dc13461c689d13369f64e4522c.zip
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')
-rw-r--r--fs/ubifs/recovery.c3
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,
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);