summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2021-11-04 10:57:08 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-04 19:43:30 -0400
commitf628d462b366a160c181e89279f15295fad62f59 (patch)
treeab11f0b313b7b3aec8d9b7b1c8dcb30a8c006d73 /fs/nfs/nfs42proc.c
parent17f09d3f619a7ad2d2b021b4e5246f08225b1b0f (diff)
downloadlwn-f628d462b366a160c181e89279f15295fad62f59.tar.gz
lwn-f628d462b366a160c181e89279f15295fad62f59.zip
NFSv4.2 add tracepoint to SEEK
Add a tracepoint to the SEEK operation. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs42proc.c')
-rw-r--r--fs/nfs/nfs42proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs42proc.c b/fs/nfs/nfs42proc.c
index a24349512ffe..87c0dcb8823b 100644
--- a/fs/nfs/nfs42proc.c
+++ b/fs/nfs/nfs42proc.c
@@ -678,6 +678,7 @@ static loff_t _nfs42_proc_llseek(struct file *filep,
status = nfs4_call_sync(server->client, server, &msg,
&args.seq_args, &res.seq_res, 0);
+ trace_nfs4_llseek(inode, &args, &res, status);
if (status == -ENOTSUPP)
server->caps &= ~NFS_CAP_SEEK;
if (status)