NFS: Don't force a dcache revalidation if nfs_wcc_update_inode succeeds
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 27 Sep 2007 14:07:31 +0000 (10:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:18:55 +0000 (17:18 -0400)
commit17cadc95372e28024be0874e67329c1862912c5d
tree0785ba140643d87c23e7bca67d1f2522214a0d12
parente323ea46d95d7f8c789effd1194dfc120284dbbd
NFS: Don't force a dcache revalidation if nfs_wcc_update_inode succeeds

The reason is that if the weak cache consistency update was successful,
then we know that our client must be the only one that changed the
directory, and we've already updated the dcache to reflect the change.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/nfs4proc.c
include/linux/nfs_fs.h