diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-05-03 15:59:25 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2025-05-11 19:48:32 -0400 |
| commit | 272e2b89b88a384f204d542b64bde0fb8e1fc12a (patch) | |
| tree | 0559ac0c8ddedf7028e143b3a480aad4b1207e6a /fs/nfsd/vfs.c | |
| parent | 2344b72302ac11efde40d64a5bc69e60c4f5ed87 (diff) | |
nfsd: add tracepoint to nfsd_link()
Observe the start of NFS LINK operations.
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index ecd453b260b6..30702f36db98 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -1721,6 +1721,8 @@ nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp, __be32 err; int host_err; + trace_nfsd_vfs_link(rqstp, ffhp, tfhp, name, len); + err = fh_verify(rqstp, ffhp, S_IFDIR, NFSD_MAY_CREATE); if (err) goto out; |