aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_logmgr.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2007-06-06 17:30:17 -0400
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2007-06-06 17:30:17 -0400
commit209e101bf408a50acc426e32c8252daefacde5b0 (patch)
tree9627c9273e35f142e58059aa85b77c0367c45315 /fs/jfs/jfs_logmgr.c
parentf720e3ba558680cc7dd3995d005bdc8ee2ef46af (diff)
JFS: use print_hex_dump() rather than private dump_mem() function
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
-rw-r--r--fs/jfs/jfs_logmgr.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index 88eae45a4644..2917ede90d67 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -1622,16 +1622,22 @@ void jfs_flush_journal(struct jfs_log *log, int wait)
1622 if (!list_empty(&log->synclist)) { 1622 if (!list_empty(&log->synclist)) {
1623 struct logsyncblk *lp; 1623 struct logsyncblk *lp;
1624 1624
1625 printk(KERN_ERR "jfs_flush_journal: synclist not empty\n");
1625 list_for_each_entry(lp, &log->synclist, synclist) { 1626 list_for_each_entry(lp, &log->synclist, synclist) {
1626 if (lp->xflag & COMMIT_PAGE) { 1627 if (lp->xflag & COMMIT_PAGE) {
1627 struct metapage *mp = (struct metapage *)lp; 1628 struct metapage *mp = (struct metapage *)lp;
1628 dump_mem("orphan metapage", lp, 1629 printk (KERN_ERR "orphan metapage:\n");
1629 sizeof(struct metapage)); 1630 print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS,
1630 dump_mem("page", mp->page, sizeof(struct page)); 1631 lp, sizeof(struct metapage));
1632 printk (KERN_ERR "page:\n");
1633 print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS,
1634 mp->page, sizeof(struct page));
1635 }
1636 else {
1637 printk (KERN_ERR "orphan tblock:\n");
1638 print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS,
1639 lp, sizeof(struct tblock));
1631 } 1640 }
1632 else
1633 dump_mem("orphan tblock", lp,
1634 sizeof(struct tblock));
1635 } 1641 }
1636 } 1642 }
1637#endif 1643#endif