NFS: NFS_CACHEINV() should not test for nfs_caches_unstable()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 29 Sep 2007 21:25:43 +0000 (17:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:19:48 +0000 (17:19 -0400)
commita1643a92f6de92074116922a2d2906dd33499ff4
tree9047e929e13d48b53a8d3512ce31ac9ab6b1832d
parent3258b4fa552c4f994b5e6490a8ad88f5d7e0e648
NFS: NFS_CACHEINV() should not test for nfs_caches_unstable()

The fact that we're in the process of modifying the inode does not mean
that we should not invalidate the attribute and data caches. The defensive
thing is to always invalidate when we're confronted with inode
mtime/ctime or change_attribute updates that we do not immediately
recognise.

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