]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: increase hexdump output in xfs_corruption_error
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Apr 2013 05:11:11 +0000 (16:11 +1100)
committerBen Myers <bpm@sgi.com>
Sun, 21 Apr 2013 19:48:41 +0000 (14:48 -0500)
commit7605df008e0dc3fd48a8fe837703277b325c2fdc
tree9e40fe2d262394fec7ad390b7ac8a50605ce550c
parent3bc2a3145200334d8c9e9a00342e45f6fda681ed
xfs: increase hexdump output in xfs_corruption_error

Currently xfs_corruption_error() dumps the first 16 bytes of the
buffer that is passed to it when a corruption occurs. This is not
large enough to see the entire state of the header of the block that
was determined to be corrupt.  increase the output to 64 bytes to
capture the majority of all headers in all types of metadata blocks.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_error.c