From: Artem Bityutskiy Date: Fri, 6 May 2011 18:23:25 +0000 (+0300) Subject: UBIFS: dump more in the lprops debugging check X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=12346037a71809197b22e223c3a719190a26172d;p=linux.git UBIFS: dump more in the lprops debugging check Signed-off-by: Artem Bityutskiy --- diff --git a/fs/ubifs/lprops.c b/fs/ubifs/lprops.c index 77c541be6ffc5..667884f4a6153 100644 --- a/fs/ubifs/lprops.c +++ b/fs/ubifs/lprops.c @@ -1108,6 +1108,10 @@ static int scan_check_cb(struct ubifs_info *c, sleb = ubifs_scan(c, lnum, 0, buf, 0); if (IS_ERR(sleb)) { ret = PTR_ERR(sleb); + if (ret == -EUCLEAN) { + dbg_dump_lprops(c); + dbg_dump_budg(c, &c->bi); + } goto out; }