[XFS] Show buffer address with debug hexdump on corruption

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>
This commit is contained in:
Barry Naujok 2008-10-30 17:05:58 +11:00 committed by Lachlan McIlroy
parent 89b2839319
commit 34519daae6

View File

@ -84,5 +84,5 @@ assfail(char *expr, char *file, int line)
void void
xfs_hex_dump(void *p, int length) 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);
} }