diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-04-07 09:40:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-07 09:41:58 -0700 |
commit | 94319a8241cb299edc812024d6132b7a3819a4dc (patch) | |
tree | ea42151feb97c84da806aa2a0f7a9c180fd1b5a4 /pkg/p9/buffer.go | |
parent | 51e461cf9c49f6ad5a9a68d93c5928647aae11d8 (diff) |
Make gofer.dentry.destroyLocked idempotent
gofer operations accumulate dentries touched in a slice to call
checkCachingLocked on them when the operation is over. In case
the same dentry is touched multiple times during the operation,
checkCachingLocked, and consequently destroyLocked, may be called
more than once for the same dentry.
Updates #1198
PiperOrigin-RevId: 305276819
Diffstat (limited to 'pkg/p9/buffer.go')
0 files changed, 0 insertions, 0 deletions