]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix dcache revalidation bugs
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2007 18:20:33 +0000 (14:20 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:18:49 +0000 (17:18 -0400)
commit558873cb5eee49bd3133796a3326f27a2993eb22
treea0880db55be695d2975eb2d993d4cc918d0d3d83
parente3071fb28a49190de6c1bfccf85173e6d5891eed
NFS: Fix dcache revalidation bugs

We don't need to force a dentry lookup just because we're making changes to
the directory.

Don't update nfsi->cache_change_attribute in nfs_end_data_update: that
overrides the NFSv3/v4 weak consistency checking that tells us our update
was the only one, and that tells us the dcache is still valid.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/inode.c