From: Artem Bityutskiy Date: Mon, 16 Jan 2012 10:10:56 +0000 (+0200) Subject: UBIFS: amend recovery debugging message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=78437368c8d9c8dc13461c689d13369f64e4522c;p=linux-beck.git UBIFS: amend recovery debugging message Print LEB and offset as well. Signed-off-by: Artem Bityutskiy --- 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);