]> err.no Git - linux-2.6/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)
commit6ecc5e8fcad7ad64d68c098249359831331bd299
treea0880db55be695d2975eb2d993d4cc918d0d3d83
parent7957c1418f4b6c66e28d4ac3c4d7a8c19d526c48
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