]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: rename and simplify xfs_bmap_one_block
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Jun 2021 22:38:57 +0000 (18:38 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 30 Jun 2021 22:38:57 +0000 (18:38 -0400)
commit229442ecdd547328260f20fe8c6b1fa57d231992
treece3059f66cd382161bcdd4c2b3a1764061385049
parente00c57e7abd41b859c78a5de3d2e411fe1c140f6
xfs: rename and simplify xfs_bmap_one_block

Source kernel commit: 2ac131df03d4f06bb0d825335663cc5064421993

xfs_bmap_one_block is only called for the attribute fork.  Move it to
xfs_attr.c, drop the unused whichfork argument and code only executed for
the data fork and rename the result to xfs_attr_is_leaf.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c
libxfs/xfs_attr.h
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h