commit | 2ac131df03d4f06bb0d825335663cc5064421993 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 13 11:15:10 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Thu Apr 15 09:35:50 2021 -0700 |
tree | 72461f91e843e100e594b9115edb11ebf58c6a3c | |
parent | 862a804aae3031e91bd0ae0b13c90a1b13d77af3 [diff] |
xfs: rename and simplify xfs_bmap_one_block 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>