NFS: Trust cached access if we've already revalidated the inode once
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 20:39:36 +0000 (15:39 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:33 +0000 (10:54 -0500)
commit5c965db86e6b0e90a3112228820598e824920278
tree355a2e4d690621190144bcdb1624a702a5f66d08
parent4daaeba938228f7c97e80817ccda1e091c7d3fb6
NFS: Trust cached access if we've already revalidated the inode once

If we've already revalidated the inode once then don't distrust the
access cache unless the NFS_INO_INVALID_ACCESS flag is actually set.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c