summaryrefslogtreecommitdiff
path: root/fs/nfsd/vfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-05-03 15:59:24 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-05-11 19:48:32 -0400
commit2344b72302ac11efde40d64a5bc69e60c4f5ed87 (patch)
tree8bf3e6514103a413c2b0e9f6c0113632c34dec59 /fs/nfsd/vfs.c
parent85b0b1f217856b19f7fc7a6b3bf2adafdcaf056e (diff)
nfsd: add tracepoint to nfsd_symlink
Observe the start of SYMLINK operations for all NFS versions. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r--fs/nfsd/vfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index cc0efc47dc25..ecd453b260b6 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -1651,6 +1651,8 @@ nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp,
__be32 err, cerr;
int host_err;
+ trace_nfsd_vfs_symlink(rqstp, fhp, fname, flen, path);
+
err = nfserr_noent;
if (!flen || path[0] == '\0')
goto out;