mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-20 18:15:29 +00:00
NFS: Also use readdir info to revalidate positive dentries
If the fileid of the cached dentry fails to match that returned by the readdir call, then we should also d_drop. Try to take into account the fact that on NFSv4, readdir may return the "mounted_on_fileid" by looking for submounts. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
df1d5d23d3
commit
ef75c7974b
1 changed files with 11 additions and 3 deletions
14
fs/nfs/dir.c
14
fs/nfs/dir.c
Loading…
Add table
Add a link
Reference in a new issue