Skip to content

Commit 283064f

Browse files
jtlaytonamschuma-ntap
authored andcommitted
nfs: add new tracepoint at nfs4 revalidate entry point
Add a call to the v4 d_revalidate entrypoint, just like the v3 one. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent 98b4e51 commit 283064f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/nfs/dir.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,8 @@ nfs4_do_lookup_revalidate(struct inode *dir, struct dentry *dentry,
21942194
{
21952195
struct inode *inode;
21962196

2197+
trace_nfs_lookup_revalidate_enter(dir, dentry, flags);
2198+
21972199
if (!(flags & LOOKUP_OPEN) || (flags & LOOKUP_DIRECTORY))
21982200
goto full_reval;
21992201
if (d_mountpoint(dentry))

0 commit comments

Comments
 (0)