summaryrefslogtreecommitdiffhomepage
path: root/pkg/usermem/bytes_io.go
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2021-04-08 17:59:46 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-08 18:01:49 -0700
commit496a3654e7af2ee905c1183c622687c6af29069b (patch)
tree45a10aef293cd772e1b58fd18956996afed168f3 /pkg/usermem/bytes_io.go
parentae019e39b0f3c6cdff0b1e86771698693fb074e6 (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/usermem/bytes_io.go')
0 files changed, 0 insertions, 0 deletions