NFS: Don't clear nfsi->cache_validity in nfs_check_inode_attributes()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 5 Oct 2008 17:31:21 +0000 (13:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 21:41:33 +0000 (17:41 -0400)
commit076f1fc94c44be2664172c63b4a2b51ae2d265ea
treea2b0c6b28deb0d283ff754df90801cc1483ec41d
parent4dc05efb86239321d43a9d74fd2ecd5c21bfc2ad
NFS: Don't clear nfsi->cache_validity in nfs_check_inode_attributes()

If we're merely checking the inode attributes because we suspect that the
'updated' attributes returned by the RPC call are stale, then we shouldn't
be doing weak cache consistency updates or clearing the cache_validity
flags.

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