]> git.itanic.dy.fi Git - linux-stable/commit
xfs: move the xfs_attr_sf_lookup tracepoint
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Dec 2023 06:34:57 +0000 (07:34 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 29 Dec 2023 08:07:04 +0000 (13:37 +0530)
commit14f2e4ab5d0310c2bb231941d9884fa5bae47fab
tree3c6b9f2a955900fea9bb2a2760ee3c8073194f1a
parent45c76a2add55b332d965c901e14004ae0134a67e
xfs: move the xfs_attr_sf_lookup tracepoint

trace_xfs_attr_sf_lookup is currently only called by
xfs_attr_shortform_lookup, which despit it's name is a simple helper for
xfs_attr_shortform_addname, which has it's own tracing.  Move the
callsite to xfs_attr_shortform_getvalue, which is the closest thing to
a high level lookup we have for the Linux xattr API.

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