]> 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)
commit6c774750d12549cedcc9be52566fe27ec558a1ee
tree71eea4f04fc1873af9e03e9c9084a7f0ce9076f7
parent1ca4e48a31776b8c0454a228c9791b1205bae419
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