diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
commit | e48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch) | |
tree | f8848b871cd5e3a0d07853083e024a231438085c /pkg/sentry/fsbridge | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/fsbridge')
-rw-r--r-- | pkg/sentry/fsbridge/fsbridge_state_autogen.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/sentry/fsbridge/fsbridge_state_autogen.go b/pkg/sentry/fsbridge/fsbridge_state_autogen.go index a5d0364f0..b4b240bfa 100644 --- a/pkg/sentry/fsbridge/fsbridge_state_autogen.go +++ b/pkg/sentry/fsbridge/fsbridge_state_autogen.go @@ -18,6 +18,7 @@ func (f *fsFile) StateFields() []string { func (f *fsFile) beforeSave() {} +// +checklocksignore func (f *fsFile) StateSave(stateSinkObject state.Sink) { f.beforeSave() stateSinkObject.Save(0, &f.file) @@ -25,6 +26,7 @@ func (f *fsFile) StateSave(stateSinkObject state.Sink) { func (f *fsFile) afterLoad() {} +// +checklocksignore func (f *fsFile) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &f.file) } @@ -43,6 +45,7 @@ func (l *fsLookup) StateFields() []string { func (l *fsLookup) beforeSave() {} +// +checklocksignore func (l *fsLookup) StateSave(stateSinkObject state.Sink) { l.beforeSave() stateSinkObject.Save(0, &l.mntns) @@ -52,6 +55,7 @@ func (l *fsLookup) StateSave(stateSinkObject state.Sink) { func (l *fsLookup) afterLoad() {} +// +checklocksignore func (l *fsLookup) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &l.mntns) stateSourceObject.Load(1, &l.root) @@ -70,6 +74,7 @@ func (f *VFSFile) StateFields() []string { func (f *VFSFile) beforeSave() {} +// +checklocksignore func (f *VFSFile) StateSave(stateSinkObject state.Sink) { f.beforeSave() stateSinkObject.Save(0, &f.file) @@ -77,6 +82,7 @@ func (f *VFSFile) StateSave(stateSinkObject state.Sink) { func (f *VFSFile) afterLoad() {} +// +checklocksignore func (f *VFSFile) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &f.file) } @@ -95,6 +101,7 @@ func (l *vfsLookup) StateFields() []string { func (l *vfsLookup) beforeSave() {} +// +checklocksignore func (l *vfsLookup) StateSave(stateSinkObject state.Sink) { l.beforeSave() stateSinkObject.Save(0, &l.mntns) @@ -104,6 +111,7 @@ func (l *vfsLookup) StateSave(stateSinkObject state.Sink) { func (l *vfsLookup) afterLoad() {} +// +checklocksignore func (l *vfsLookup) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &l.mntns) stateSourceObject.Load(1, &l.root) |