diff options
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
-rw-r--r-- | fs/jfs/jfs_logmgr.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index 2917ede90d67..de3e4a506dbc 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c | |||
@@ -1626,22 +1626,22 @@ void jfs_flush_journal(struct jfs_log *log, int wait) | |||
1626 | list_for_each_entry(lp, &log->synclist, synclist) { | 1626 | list_for_each_entry(lp, &log->synclist, synclist) { |
1627 | if (lp->xflag & COMMIT_PAGE) { | 1627 | if (lp->xflag & COMMIT_PAGE) { |
1628 | struct metapage *mp = (struct metapage *)lp; | 1628 | struct metapage *mp = (struct metapage *)lp; |
1629 | printk (KERN_ERR "orphan metapage:\n"); | 1629 | print_hex_dump(KERN_ERR, "metapage: ", |
1630 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, | 1630 | DUMP_PREFIX_ADDRESS, 16, 4, |
1631 | lp, sizeof(struct metapage)); | 1631 | mp, sizeof(struct metapage), 0); |
1632 | printk (KERN_ERR "page:\n"); | 1632 | print_hex_dump(KERN_ERR, "page: ", |
1633 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, | 1633 | DUMP_PREFIX_ADDRESS, 16, |
1634 | mp->page, sizeof(struct page)); | 1634 | sizeof(long), mp->page, |
1635 | } | 1635 | sizeof(struct page), 0); |
1636 | else { | 1636 | } else |
1637 | printk (KERN_ERR "orphan tblock:\n"); | 1637 | print_hex_dump(KERN_ERR, "tblock:", |
1638 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, | 1638 | DUMP_PREFIX_ADDRESS, 16, 4, |
1639 | lp, sizeof(struct tblock)); | 1639 | lp, sizeof(struct tblock), 0); |
1640 | } | ||
1641 | } | 1640 | } |
1642 | } | 1641 | } |
1642 | #else | ||
1643 | WARN_ON(!list_empty(&log->synclist)); | ||
1643 | #endif | 1644 | #endif |
1644 | //assert(list_empty(&log->synclist)); | ||
1645 | clear_bit(log_FLUSH, &log->flag); | 1645 | clear_bit(log_FLUSH, &log->flag); |
1646 | } | 1646 | } |
1647 | 1647 | ||