]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move the xfs_attr_sf_lookup tracepoint
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Apr 2024 23:07:42 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:26 +0000 (14:06 -0700)
commit73d6f197da58aa9e0844c89f3a5450671cb6b6a3
treee2d1de1e74d51832a6049936cbf489263d91194f
parent4ff35b84151b75ca428a34b57a1bc02db976b5af
xfs: move the xfs_attr_sf_lookup tracepoint

Source kernel commit: 14f2e4ab5d0310c2bb231941d9884fa5bae47fab

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