[PATCH] NFS: Fix cache consistency races
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 17 Oct 2005 10:02:00 +0000 (06:02 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 17 Oct 2005 21:47:16 +0000 (14:47 -0700)
If the data cache has been marked as potentially invalid by nfs_refresh_inode,
we should invalidate it rather than assume that changes are due to our own
activity.

Also ensure that we always start with a valid cache before declaring it
to be protected by a delegation.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found