diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-06-11 14:55:04 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-11 14:56:19 -0700 |
commit | d58d57606a460d49b8870d2c48cb75f662f65fda (patch) | |
tree | 7fa549398a35c24b45210d3f206e50b64bfc9edb /pkg/sentry/fs/host/socket.go | |
parent | 11dc95e6c557a6ab50f2a7acb5d253e056b6fc11 (diff) |
Don't copy structs with sync.Mutex during initialization
During inititalization inode struct was copied around, but
it isn't great pratice to copy it around since it contains
ref count and sync.Mutex.
Updates #1480
PiperOrigin-RevId: 315983788
Diffstat (limited to 'pkg/sentry/fs/host/socket.go')
0 files changed, 0 insertions, 0 deletions