projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bdc3e
)
UBIFS: dump more in the lprops debugging check
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Fri, 6 May 2011 18:23:25 +0000
(21:23 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 16 May 2011 07:31:39 +0000
(10:31 +0300)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/lprops.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/lprops.c
b/fs/ubifs/lprops.c
index 77c541be6ffc5349d5b02b301847cfc647eb7977..667884f4a61537717adae74d76ba6ebe6a2982ac 100644
(file)
--- 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;
}