xfs: corruption needs to respect endianess too!
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 18:24:40 +0000 (11:24 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:42 +0000 (09:40 -0700)
commite2a641922a3592b5ea226624d5abeb13eb49622c
tree023c73ce014fd6decb3691761d748c0dea40e916
parentef2b67ecf8ddbcb30f98f7ce6876872fb3e925f6
xfs: corruption needs to respect endianess too!

At least if we want to be able to recognize the pattern.  Add a missing
byte swap to the corruption injection case in xlog_sync.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log.c