diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2007-06-13 11:17:50 -0400 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2007-06-13 11:17:50 -0400 |
commit | 288e4d838d1e999c0515f85a337cacb2be233071 (patch) | |
tree | 45b7a24ccc679310c28b1edbb2633c1739d50afc /fs/jfs/jfs_txnmgr.c | |
parent | 209e101bf408a50acc426e32c8252daefacde5b0 (diff) |
JFS: Update print_hex_dump() syntax
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_txnmgr.c')
-rw-r--r-- | fs/jfs/jfs_txnmgr.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index d6f23f90ad36..7aa1f7004eaf 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c | |||
@@ -830,16 +830,15 @@ struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, | |||
830 | /* assert(jfs_ip->fileset == AGGREGATE_I); */ | 830 | /* assert(jfs_ip->fileset == AGGREGATE_I); */ |
831 | if (jfs_ip->fileset != AGGREGATE_I) { | 831 | if (jfs_ip->fileset != AGGREGATE_I) { |
832 | printk(KERN_ERR "txLock: trying to lock locked page!"); | 832 | printk(KERN_ERR "txLock: trying to lock locked page!"); |
833 | printk(KERN_ERR "ip:\n"); | 833 | print_hex_dump(KERN_ERR, "ip: ", DUMP_PREFIX_ADDRESS, 16, 4, |
834 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, ip, sizeof(*ip)); | 834 | ip, sizeof(*ip), 0); |
835 | printk(KERN_ERR "mp:\n"); | 835 | print_hex_dump(KERN_ERR, "mp: ", DUMP_PREFIX_ADDRESS, 16, 4, |
836 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, mp, sizeof(*mp)); | 836 | mp, sizeof(*mp), 0); |
837 | printk(KERN_ERR "Locker's tblk:\n"); | 837 | print_hex_dump(KERN_ERR, "Locker's tblock: ", |
838 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, | 838 | DUMP_PREFIX_ADDRESS, 16, 4, tid_to_tblock(tid), |
839 | tid_to_tblock(tid), sizeof(struct tblock)); | 839 | sizeof(struct tblock), 0); |
840 | printk(KERN_ERR "Tlock:\n"); | 840 | print_hex_dump(KERN_ERR, "Tlock: ", DUMP_PREFIX_ADDRESS, 16, 4, |
841 | print_hex_dump(KERN_ERR, DUMP_PREFIX_ADDRESS, tlck, | 841 | tlck, sizeof(*tlck), 0); |
842 | sizeof(*tlck)); | ||
843 | BUG(); | 842 | BUG(); |
844 | } | 843 | } |
845 | INCREMENT(stattx.waitlock); /* statistics */ | 844 | INCREMENT(stattx.waitlock); /* statistics */ |