UBIFS: dump more in the lprops debugging check

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
Artem Bityutskiy 2011-05-06 21:23:25 +03:00
parent 34bdc3e257
commit 12346037a7
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}