]> err.no Git - linux-2.6/commit
NFS: Also use readdir info to revalidate positive dentries
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 16 Jan 2007 15:09:44 +0000 (10:09 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Feb 2007 23:35:04 +0000 (15:35 -0800)
commitef75c7974b383769ae5741cf930b8aa4dcaef395
tree4ed78762d171e41badb94c1bca93ae0be3e5af16
parentdf1d5d23d3a1a713c69b0f9ec67c59aeca3ce6b3
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>
fs/nfs/dir.c