summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-09-29 08:12:53 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-10-03 20:49:07 -0400
commitcec08f452a687fce9dfdf47946d00a1d12a8bec5 (patch)
tree449035ba957d3b01c14d3e77bd4b7f2a7fbe44ba /fs/file.c
parentff81dfb5d721fff87bd516c558847f6effb70031 (diff)
NFS: Fix dentry verifier races
If the directory changed while we were revalidating the dentry, then don't update the dentry verifier. There is no value in setting the verifier to an older value, and we could end up overwriting a more up to date verifier from a parallel revalidation. Fixes: efeda80da38d ("NFSv4: Fix revalidation of dentries with delegations") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Tested-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions