]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't gratuitously clear the inode cache when lookup failed
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 8 Mar 2021 19:42:52 +0000 (14:42 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Mar 2021 20:57:17 +0000 (15:57 -0500)
commit2d4fc4d468b41f5a00674055c43b3bf0549a5257
tree21d915db3275d499fa198b9e5f8726f09f8e8815
parentd9ef91d260c78934f6e2daeac85e6a4f0cd72690
NFS: Don't gratuitously clear the inode cache when lookup failed

The fact that the lookup revalidation failed, does not mean that the
inode contents have changed.

Fixes: c4f1be5ac3c3 ("NFS: Refactor nfs_lookup_revalidate()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c