Commit 34519daa authored by Barry Naujok's avatar Barry Naujok Committed by Lachlan McIlroy

[XFS] Show buffer address with debug hexdump on corruption

SGI-PV: 987246

SGI-Modid: xfs-linux-melb:xfs-kern:32233a
Signed-off-by: default avatarBarry Naujok <bnaujok@sgi.com>
Signed-off-by: default avatarEric Sandeen <sandeen@sandeen.net>
Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
parent 89b28393
...@@ -84,5 +84,5 @@ assfail(char *expr, char *file, int line) ...@@ -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);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment