projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b4e51
)
nfs: add new tracepoint at nfs4 revalidate entry point
author
Jeff Layton
<jlayton@kernel.org>
Fri, 3 Nov 2023 10:10:49 +0000
(06:10 -0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Thu, 4 Jan 2024 15:47:56 +0000
(10:47 -0500)
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>
fs/nfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index 273c0b68abf4422998eb61a8117dae38279b2b26..c8ecbe99905960ccd63b7128f273fc38543d876d 100644
(file)
--- 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))