]> git.karo-electronics.de Git - linux-beck.git/commitdiff
UBIFS: amend recovery debugging message
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 16 Jan 2012 10:10:56 +0000 (12:10 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 29 Feb 2012 14:10:20 +0000 (16:10 +0200)
Print LEB and offset as well.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/recovery.c

index ee4f43f4bb998d2bc20ac1f96437e926e2f2e490..2a935b317232b6ff87e408143c410ca3b745501f 100644 (file)
@@ -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);