summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/file_overlay_test.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-12-19 14:29:57 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-19 14:34:53 -0800
commitbb00438f36ebd19968246a838c2ddd61b9e14b79 (patch)
tree8fe603b6bb5f22c96a23551cbedf2e158cf3e88b /pkg/sentry/fs/file_overlay_test.go
parent57ce26c0b465dce332a59c9fabb05f737ff4241d (diff)
Make masterInodeOperations.Truncate take a pointer receiver.
Otherwise a copy happens, which triggers a data race when reading masterInodeOperations.SimpleFileOperations.uattr, which must be accessed with a lock held. PiperOrigin-RevId: 286464473
Diffstat (limited to 'pkg/sentry/fs/file_overlay_test.go')
0 files changed, 0 insertions, 0 deletions