diff mbox series

[1/3] nfs: add new tracepoint at nfs4 revalidate entry point

Message ID 20231103-nfs-6-8-v1-1-a2aa9021dc1d@kernel.org (mailing list archive)
State New, archived
Headers show
Series nfs: clean up some tracepoints in the lookup / revalidate codepaths | expand

Commit Message

Jeff Layton Nov. 3, 2023, 10:10 a.m. UTC
Add a call to the v4 d_revalidate entrypoint, just like the v3 one.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/nfs/dir.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index e6a51fd94fea..ccb6f5d85a68 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -2194,6 +2194,8 @@  nfs4_do_lookup_revalidate(struct inode *dir, struct dentry *dentry,
 {
 	struct inode *inode;
 
+	trace_nfs_lookup_revalidate_enter(dir, dentry, flags);
+
 	if (!(flags & LOOKUP_OPEN) || (flags & LOOKUP_DIRECTORY))
 		goto full_reval;
 	if (d_mountpoint(dentry))