xfs: pass a struct xfs_bmbt_irec to xfs_bmbt_lookup_eq
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:26 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:22 +0000 (15:38 -0700)
commite16cf9b03cee4d2797695d4ca691e854c7a24864
tree71eea4f04fc1873af9e03e9c9084a7f0ce9076f7
parenta67d00a55507dc324037f182563e10339945721a
xfs: pass a struct xfs_bmbt_irec to xfs_bmbt_lookup_eq

Now that we've massaged the callers into the right form we can always
pass the actual extent record instead of the individual fields.

As an additional benefit the btree cursor will now be prepoulated with
the correct extent state instead of having to fix it up later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
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