]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commitb3c52da33ce95747b1bff86cce716d4f1397f14a
tree7958a929e5b9486bf0b5358776078c1bc71faf88
parent13b58ee51802a45d2b8853ffe0003d9fa768195c
[PATCH] NFS: Fix cache consistency races

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>
fs/nfs/delegation.c
fs/nfs/file.c
fs/nfs/inode.c