]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5c07cc407650eb60bde5ff0703064a9ecb54d5d
tree1648f67431cfc025df1a6922a18ed2a58ec60428
parent4e94160cce7b27fd831e7970aea8bc85e531db40
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