summaryrefslogtreecommitdiffstats
path: root/fs/posix_acl.c
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2020-02-05 09:01:53 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-02-10 10:50:59 -0500
commitcf5b4059ba7197d6cef9c0e024979d178ed8c8ec (patch)
treed9ec3c8699f049af43388d671dde214138ed67df /fs/posix_acl.c
parenta1147b8281bda99bda99892233e1900329a9cbf1 (diff)
downloadlinux-cf5b4059ba7197d6cef9c0e024979d178ed8c8ec.tar.bz2
NFSv4: Fix races between open and dentry revalidation
We want to make sure that we revalidate the dentry if and only if we've done an OPEN by filename. In order to avoid races with remote changes to the directory on the server, we want to save the verifier before calling OPEN. The exception is if the server returned a delegation with our OPEN, as we then know that the filename can't have changed on the server. 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>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions