Commit a8846484 authored by james toy's avatar james toy
parent 2f1db7aa
...@@ -1781,9 +1781,17 @@ repeat: ...@@ -1781,9 +1781,17 @@ repeat:
if (buffer_jbd(bh)) { if (buffer_jbd(bh)) {
jh = bh2jh(bh); jh = bh2jh(bh);
} else { } else {
J_ASSERT_BH(bh, if (!(atomic_read(&bh->b_count) > 0 ||
(atomic_read(&bh->b_count) > 0) || (bh->b_page && bh->b_page->mapping))) {
(bh->b_page && bh->b_page->mapping)); printk(KERN_EMERG "%s: bh->b_count=%d\n",
__FUNCTION__, atomic_read(&bh->b_count));
printk(KERN_EMERG "%s: bh->b_page=%p\n",
__FUNCTION__, bh->b_page);
if (bh->b_page)
printk(KERN_EMERG "%s: "
"bh->b_page->mapping=%p\n",
__FUNCTION__, bh->b_page->mapping);
}
if (!new_jh) { if (!new_jh) {
jbd_unlock_bh_journal_head(bh); jbd_unlock_bh_journal_head(bh);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment