]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb144d92547623e6c7b5ebc98026326d7be1f7dd
tree71eea4f04fc1873af9e03e9c9084a7f0ce9076f7
parent5e7639effacfc870c52d990d00535416810ca0ca
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