]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: use xfs_attr_sf_findname in xfs_attr_shortform_getvalue
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Apr 2024 23:07:43 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:26 +0000 (14:06 -0700)
commitef7e1fab372def780e8f51adaa083b4413784efa
treef760ad1bb0ab3ec12137ef87d66dcd90d713630f
parentf4f98f2e64e156422b0dca528522de9437ff24f2
xfs: use xfs_attr_sf_findname in xfs_attr_shortform_getvalue

Source kernel commit: 1fb4b0def7b5a5bf91ad62a112d8d3f6dc76585f

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>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
libxfs/xfs_attr_leaf.c