]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix up directory verifier races
authorTrond Myklebust <trondmy@gmail.com>
Wed, 5 Feb 2020 14:01:52 +0000 (09:01 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 10 Feb 2020 15:38:48 +0000 (10:38 -0500)
commit05a28e65962fbc17c41714af56ec0085a5a43f9b
tree9a3eaac43b732c5a0f5131307bdaba8c2cf4703a
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
NFS: Fix up directory verifier races

In order to avoid having our dentry revalidation race with an update
of the directory on the server, we need to store the verifier before
the RPC calls to LOOKUP and READDIR.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@gmail.com>
Tested-by: Benjamin Coddington <bcodding@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c