]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76e2ebdb994c896e87693bc416f162a4fb268141
treeaa9f0150952418c6e63069557cc72e4eaf85bb19
parent6c774750d12549cedcc9be52566fe27ec558a1ee
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