summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2021-11-04 17:57:11 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-05 02:43:30 +0300
commit2a65ca8b5850914e2ca67a0b8b8140bf7297353a (patch)
tree1d674f320434baf62e07fa38030c00d61874ae27 /fs/nfs/nfs42proc.c
parentce7cea1ba72ef2ba91bcb28ab441597405d6d705 (diff)
downloadlinux-2a65ca8b5850914e2ca67a0b8b8140bf7297353a.tar.xz
NFSv4.2 add tracepoint to CLONE
Add a tracepoint to the CLONE 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 a072cdaf7bdc..d3d9ea71702f 100644
--- a/fs/nfs/nfs42proc.c
+++ b/fs/nfs/nfs42proc.c
@@ -1077,6 +1077,7 @@ static int _nfs42_proc_clone(struct rpc_message *msg, struct file *src_f,
status = nfs4_call_sync(server->client, server, msg,
&args.seq_args, &res.seq_res, 0);
+ trace_nfs4_clone(src_inode, dst_inode, &args, status);
if (status == 0) {
nfs42_copy_dest_done(dst_inode, dst_offset, count);
status = nfs_post_op_update_inode(dst_inode, res.dst_fattr);