diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-06 14:23:25 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-16 03:31:39 -0400 |
commit | 12346037a71809197b22e223c3a719190a26172d (patch) | |
tree | cdb04727a8e602ecde96f4e91be453313e48864b /fs/ubifs | |
parent | 34bdc3e2578cae3162e481203a2980d55e184a73 (diff) |
UBIFS: dump more in the lprops debugging check
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/lprops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ubifs/lprops.c b/fs/ubifs/lprops.c index 77c541be6ffc..667884f4a615 100644 --- a/fs/ubifs/lprops.c +++ b/fs/ubifs/lprops.c | |||
@@ -1108,6 +1108,10 @@ static int scan_check_cb(struct ubifs_info *c, | |||
1108 | sleb = ubifs_scan(c, lnum, 0, buf, 0); | 1108 | sleb = ubifs_scan(c, lnum, 0, buf, 0); |
1109 | if (IS_ERR(sleb)) { | 1109 | if (IS_ERR(sleb)) { |
1110 | ret = PTR_ERR(sleb); | 1110 | ret = PTR_ERR(sleb); |
1111 | if (ret == -EUCLEAN) { | ||
1112 | dbg_dump_lprops(c); | ||
1113 | dbg_dump_budg(c, &c->bi); | ||
1114 | } | ||
1111 | goto out; | 1115 | goto out; |
1112 | } | 1116 | } |
1113 | 1117 | ||