xfs: fix endianness error when checking log block crc on big endian platforms
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Feb 2016 00:03:58 +0000 (11:03 +1100)
committerroot <root@disappointment.disaster>
Mon, 8 Feb 2016 00:03:58 +0000 (11:03 +1100)
commit8e0bd4925bf693520295de403483efad4dc5cc16
tree746400338dc8354894ea40f95bddee38400af84d
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
xfs: fix endianness error when checking log block crc on big endian platforms

Since the checksum function and the field are both __le32, don't
perform endian conversion when comparing the two.  This fixes mount
failures on ppc64.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_recover.c