]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: replace xfs_bmbt_lookup_ge with xfs_bmbt_lookup_first
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
commit4f76f49c8e0e6bdef054db67718feb8d539ecf09
treed550a8dd2a91a07ab8f612cb2387000d14fca10c
parent70a93110712e41be66942cc126c094288af3a537
xfs: replace xfs_bmbt_lookup_ge with xfs_bmbt_lookup_first

Source kernel commit: b5cfbc2282bcd0dba460d4d4ec07fcfac9981de6

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c