xfs: pass struct xfs_bmbt_irec to xfs_bmbt_validate_extent
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:47 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:41 +0000 (11:53 -0800)
commitdac9c9b137950421a87c1d9ba29f3a6ee54d0e8a
tree1648f67431cfc025df1a6922a18ed2a58ec60428
parentc38ccf599022e7454a861145ce1a94c5b5d7e658
xfs: pass struct xfs_bmbt_irec to xfs_bmbt_validate_extent

This removed an unaligned load per extent, as well as the manual poking
into the on-disk extent format.

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/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap_btree.h
fs/xfs/libxfs/xfs_inode_fork.c