]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefa2c0c2581d45395f747353b983e800ab7a1871
tree355a2e4d690621190144bcdb1624a702a5f66d08
parentf3049ff24c82c1d8ab4f8be94a0786c81b254eca
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