diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-11-03 11:10:49 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2024-01-04 16:47:56 +0100 |
commit | 283064fca3e8c6a2f3d1d70bb56f5c01ee01118c (patch) | |
tree | 90174251b5925e61d9b829679e9bb29a5f743418 /fs/nfs | |
parent | SUNRPC: fix _xprt_switch_find_current_entry logic (diff) | |
download | linux-283064fca3e8c6a2f3d1d70bb56f5c01ee01118c.tar.xz linux-283064fca3e8c6a2f3d1d70bb56f5c01ee01118c.zip |
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 <jlayton@kernel.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 273c0b68abf4..c8ecbe999059 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)) |