]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4e47f9b4191991069e7ebb2e4555fbcfb84b103
tree0785ba140643d87c23e7bca67d1f2522214a0d12
parent21fcb0615ab0c0ce105d879e90a234cdc28080f8
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