diff options
author | Chong Cai <chongc@google.com> | 2021-04-08 17:59:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-08 18:01:49 -0700 |
commit | 496a3654e7af2ee905c1183c622687c6af29069b (patch) | |
tree | 45a10aef293cd772e1b58fd18956996afed168f3 /pkg/sentry/fsimpl/overlay/overlay.go | |
parent | ae019e39b0f3c6cdff0b1e86771698693fb074e6 (diff) |
Set parent after child is verified
We should only set parent after child is verified. Also, if the parent
is set before verified, destroyLocked() will try to grab parent.dirMu,
which may cause deadlock.
PiperOrigin-RevId: 367543655
Diffstat (limited to 'pkg/sentry/fsimpl/overlay/overlay.go')
0 files changed, 0 insertions, 0 deletions