From: Barry Naujok Date: Thu, 30 Oct 2008 06:05:58 +0000 (+1100) Subject: [XFS] Show buffer address with debug hexdump on corruption X-Git-Tag: v2.6.29-rc1~552^2~81^2~60 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=34519daae6778d129d56688f75ade27f6011bac9;p=karo-tx-linux.git [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 Signed-off-by: Eric Sandeen Signed-off-by: Lachlan McIlroy --- diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c index c27abef7b84f..636104254cfd 100644 --- a/fs/xfs/support/debug.c +++ b/fs/xfs/support/debug.c @@ -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); }