]> git.itanic.dy.fi Git - linux-stable/commit
xfs: use xfs_attr_sf_findname in xfs_attr_shortform_getvalue
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Dec 2023 06:35:00 +0000 (07:35 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 29 Dec 2023 08:07:04 +0000 (13:37 +0530)
commit1fb4b0def7b5a5bf91ad62a112d8d3f6dc76585f
tree1c8a878904a82a916fa26de39f09c8a411873530
parent22b7b1f597a6a21fb7b3791a55f3a7ae54d2dfe4
xfs: use xfs_attr_sf_findname in xfs_attr_shortform_getvalue

xfs_attr_shortform_getvalue duplicates the logic in xfs_attr_sf_findname.
Use the helper instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_attr_leaf.c