]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[XFS] Show buffer address with debug hexdump on corruption
authorBarry Naujok <bnaujok@sgi.com>
Thu, 30 Oct 2008 06:05:58 +0000 (17:05 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:05:58 +0000 (17:05 +1100)
SGI-PV: 987246

SGI-Modid: xfs-linux-melb:xfs-kern:32233a

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/support/debug.c

index c27abef7b84f9498821dfb9704e21b15bb86e781..636104254cfdc9001ca245dbd27a9fb3b271aa61 100644 (file)
@@ -84,5 +84,5 @@ assfail(char *expr, char *file, int line)
 void
 xfs_hex_dump(void *p, int length)
 {
-       print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_OFFSET, 16, 1, p, length, 1);
+       print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_ADDRESS, 16, 1, p, length, 1);
 }