diff options
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/lpt_commit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c index 7bbf03518c7f..c5c07f9cd22c 100644 --- a/fs/ubifs/lpt_commit.c +++ b/fs/ubifs/lpt_commit.c | |||
@@ -320,6 +320,7 @@ no_space: | |||
320 | dbg_err("LPT out of space at LEB %d:%d needing %d, done_ltab %d, " | 320 | dbg_err("LPT out of space at LEB %d:%d needing %d, done_ltab %d, " |
321 | "done_lsave %d", lnum, offs, len, done_ltab, done_lsave); | 321 | "done_lsave %d", lnum, offs, len, done_ltab, done_lsave); |
322 | dbg_dump_lpt_info(c); | 322 | dbg_dump_lpt_info(c); |
323 | dump_stack(); | ||
323 | return err; | 324 | return err; |
324 | } | 325 | } |
325 | 326 | ||
@@ -548,6 +549,7 @@ no_space: | |||
548 | dbg_err("LPT out of space mismatch at LEB %d:%d needing %d, done_ltab " | 549 | dbg_err("LPT out of space mismatch at LEB %d:%d needing %d, done_ltab " |
549 | "%d, done_lsave %d", lnum, offs, len, done_ltab, done_lsave); | 550 | "%d, done_lsave %d", lnum, offs, len, done_ltab, done_lsave); |
550 | dbg_dump_lpt_info(c); | 551 | dbg_dump_lpt_info(c); |
552 | dump_stack(); | ||
551 | return err; | 553 | return err; |
552 | } | 554 | } |
553 | 555 | ||
@@ -1722,6 +1724,7 @@ int dbg_chk_lpt_free_spc(struct ubifs_info *c) | |||
1722 | dbg_err("LPT space error: free %lld lpt_sz %lld", | 1724 | dbg_err("LPT space error: free %lld lpt_sz %lld", |
1723 | free, c->lpt_sz); | 1725 | free, c->lpt_sz); |
1724 | dbg_dump_lpt_info(c); | 1726 | dbg_dump_lpt_info(c); |
1727 | dump_stack(); | ||
1725 | return -EINVAL; | 1728 | return -EINVAL; |
1726 | } | 1729 | } |
1727 | return 0; | 1730 | return 0; |
@@ -1803,8 +1806,10 @@ int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) | |||
1803 | d->chk_lpt_sz, d->chk_lpt_wastage, lpt_sz); | 1806 | d->chk_lpt_sz, d->chk_lpt_wastage, lpt_sz); |
1804 | err = -EINVAL; | 1807 | err = -EINVAL; |
1805 | } | 1808 | } |
1806 | if (err) | 1809 | if (err) { |
1807 | dbg_dump_lpt_info(c); | 1810 | dbg_dump_lpt_info(c); |
1811 | dump_stack(); | ||
1812 | } | ||
1808 | d->chk_lpt_sz2 = d->chk_lpt_sz; | 1813 | d->chk_lpt_sz2 = d->chk_lpt_sz; |
1809 | d->chk_lpt_sz = 0; | 1814 | d->chk_lpt_sz = 0; |
1810 | d->chk_lpt_wastage = 0; | 1815 | d->chk_lpt_wastage = 0; |