NFSv4: Don't ignore the NFS_INO_REVAL_FORCED flag in nfs_revalidate_inode()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 10 Mar 2010 20:21:44 +0000 (15:21 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 10 Mar 2010 20:21:44 +0000 (15:21 -0500)
commitb4d2314bb88b07e5a04e6c75b442a1dfcd60e340
tree9727944bf30a47cf02f9b9547adcaeafeee25843
parent49697ee79242d5f8ac88f1ebc62e583d16bcc687
NFSv4: Don't ignore the NFS_INO_REVAL_FORCED flag in nfs_revalidate_inode()

If the NFS_INO_REVAL_FORCED flag is set, that means that we don't yet have
an up to date attribute cache. Even if we hold a delegation, we must
put a GETATTR on the wire.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
fs/nfs/delegation.h
fs/nfs/dir.c
fs/nfs/inode.c