summaryrefslogtreecommitdiff
path: root/fs/nfsd/vfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-05-03 15:59:23 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-05-11 19:48:31 -0400
commit85b0b1f217856b19f7fc7a6b3bf2adafdcaf056e (patch)
treeb984b28d0a22d02fbf95ee1ac035fb68361f4509 /fs/nfsd/vfs.c
parenta5256e687f2fe40c639b4f5b3f17a637eb35e7ab (diff)
nfsd: add nfsd_vfs_create tracepoints
Observe the start of file and directory creation 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 657ba0c2da14..cc0efc47dc25 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -1549,6 +1549,8 @@ nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
__be32 err;
int host_err;
+ trace_nfsd_vfs_create(rqstp, fhp, type, fname, flen);
+
if (isdotent(fname, flen))
return nfserr_exist;