summaryrefslogtreecommitdiffhomepage
path: root/pkg/flipcall
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-02-25 19:03:23 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-25 19:04:15 -0800
commitfba479b3c78621cb122af20d1d677fe9193a971c (patch)
tree8d5e95d3584ce5f6c7a22884b748caf8d991c911 /pkg/flipcall
parent813b1b048630dbf7b812abbe052dc34954869403 (diff)
Fix DATA RACE in fs.MayDelete.
MayDelete must lock the directory also, otherwise concurrent renames may race. Note that this also changes the methods to be aligned with the actual Remove and RemoveDirectory methods to minimize confusion when reading the code. (It was hard to see that resolution was correct.) PiperOrigin-RevId: 297258304
Diffstat (limited to 'pkg/flipcall')
0 files changed, 0 insertions, 0 deletions