]> 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)
commit9051c965eea7ed4af656681ddd8910b4ab184da0
tree9a3eaac43b732c5a0f5131307bdaba8c2cf4703a
parent9f9285b96014e47599924b03ab0c07fa1549e04b
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