Skip to content

Commit

Permalink
[XFS] Show buffer address with debug hexdump on corruption
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Barry Naujok authored and Lachlan McIlroy committed Oct 30, 2008
1 parent 89b2839 commit 34519da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/support/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 34519da

Please sign in to comment.