summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/limits/limits.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-06-11 14:55:04 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-11 14:56:19 -0700
commitd58d57606a460d49b8870d2c48cb75f662f65fda (patch)
tree7fa549398a35c24b45210d3f206e50b64bfc9edb /pkg/sentry/limits/limits.go
parent11dc95e6c557a6ab50f2a7acb5d253e056b6fc11 (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/limits/limits.go')
0 files changed, 0 insertions, 0 deletions