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/fsimpl/pipefs | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/pipefs')
-rw-r--r-- | pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go b/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go index 474f83cdf..5f9e117c3 100644 --- a/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go +++ b/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go @@ -16,12 +16,14 @@ func (f *filesystemType) StateFields() []string { func (f *filesystemType) beforeSave() {} +// +checklocksignore func (f *filesystemType) StateSave(stateSinkObject state.Sink) { f.beforeSave() } func (f *filesystemType) afterLoad() {} +// +checklocksignore func (f *filesystemType) StateLoad(stateSourceObject state.Source) { } @@ -38,6 +40,7 @@ func (fs *filesystem) StateFields() []string { func (fs *filesystem) beforeSave() {} +// +checklocksignore func (fs *filesystem) StateSave(stateSinkObject state.Sink) { fs.beforeSave() stateSinkObject.Save(0, &fs.Filesystem) @@ -46,6 +49,7 @@ func (fs *filesystem) StateSave(stateSinkObject state.Sink) { func (fs *filesystem) afterLoad() {} +// +checklocksignore func (fs *filesystem) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &fs.Filesystem) stateSourceObject.Load(1, &fs.devMinor) @@ -71,6 +75,7 @@ func (i *inode) StateFields() []string { func (i *inode) beforeSave() {} +// +checklocksignore func (i *inode) StateSave(stateSinkObject state.Sink) { i.beforeSave() stateSinkObject.Save(0, &i.InodeNotDirectory) @@ -86,6 +91,7 @@ func (i *inode) StateSave(stateSinkObject state.Sink) { func (i *inode) afterLoad() {} +// +checklocksignore func (i *inode) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &i.InodeNotDirectory) stateSourceObject.Load(1, &i.InodeNotSymlink) |