xfs: replace xfs_bmbt_lookup_ge with xfs_bmbt_lookup_first
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:27 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:22 +0000 (15:38 -0700)
commitb5cfbc2282bcd0dba460d4d4ec07fcfac9981de6
treeaa9f0150952418c6e63069557cc72e4eaf85bb19
parente16cf9b03cee4d2797695d4ca691e854c7a24864
xfs: replace xfs_bmbt_lookup_ge with xfs_bmbt_lookup_first

We only use xfs_bmbt_lookup_ge to look up the first bmap record in an
inode, so replace xfs_bmbt_lookup_ge with a special purpose helper that
is a bit more descriptive.

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