]> 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)
commitf3ad7c3236556e80b756288f44306b13e9e50258
tree355a2e4d690621190144bcdb1624a702a5f66d08
parent8b00f7c1c07c6e6201d4c9488e21d37c5560b8e5
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