summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/user
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-07-13 13:33:09 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-13 13:35:32 -0700
commit6994f4d5912ce9dc9233aebe9902892824904b71 (patch)
tree00857a92a208dbf3d5a3086882d46c0a869983df /pkg/sentry/fs/user
parentb8d3d09bd16f1f6d684ce2ca6f16109567cb0fc2 (diff)
[vfs2] Make gofer metadata atomics consistent
For accessing metadata fields: - If metadataMu is locked, we can access without atomics - If metadataMu is unlocked, we should use atomics For mutating metadata fields: - Always lock metadataMu and use atomics. There were some instances of inconsistencies which have been fixed. PiperOrigin-RevId: 321022895
Diffstat (limited to 'pkg/sentry/fs/user')
0 files changed, 0 insertions, 0 deletions