diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-11-03 06:10:49 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2024-01-04 10:47:56 -0500 |
commit | 283064fca3e8c6a2f3d1d70bb56f5c01ee01118c (patch) | |
tree | 90174251b5925e61d9b829679e9bb29a5f743418 /fs | |
parent | 98b4e5137504a5bd9346562b1310cdc13486603b (diff) | |
download | linux-stable-283064fca3e8c6a2f3d1d70bb56f5c01ee01118c.tar.gz linux-stable-283064fca3e8c6a2f3d1d70bb56f5c01ee01118c.tar.bz2 linux-stable-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')
-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)) |