diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
commit | 69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch) | |
tree | 9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/sentry/fsimpl/sockfs | |
parent | 578aece760dd47a06a686f82efab5b650807d4c5 (diff) | |
parent | 743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff) |
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/sockfs')
-rw-r--r-- | pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go b/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go index 38bbf9eb5..6a6607555 100644 --- a/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go +++ b/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go @@ -6,49 +6,49 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (f *filesystemType) StateTypeName() string { +func (fsType *filesystemType) StateTypeName() string { return "pkg/sentry/fsimpl/sockfs.filesystemType" } -func (f *filesystemType) StateFields() []string { +func (fsType *filesystemType) StateFields() []string { return []string{} } -func (f *filesystemType) beforeSave() {} +func (fsType *filesystemType) beforeSave() {} -func (f *filesystemType) StateSave(stateSinkObject state.Sink) { - f.beforeSave() +func (fsType *filesystemType) StateSave(stateSinkObject state.Sink) { + fsType.beforeSave() } -func (f *filesystemType) afterLoad() {} +func (fsType *filesystemType) afterLoad() {} -func (f *filesystemType) StateLoad(stateSourceObject state.Source) { +func (fsType *filesystemType) StateLoad(stateSourceObject state.Source) { } -func (f *filesystem) StateTypeName() string { +func (fs *filesystem) StateTypeName() string { return "pkg/sentry/fsimpl/sockfs.filesystem" } -func (f *filesystem) StateFields() []string { +func (fs *filesystem) StateFields() []string { return []string{ "Filesystem", "devMinor", } } -func (f *filesystem) beforeSave() {} +func (fs *filesystem) beforeSave() {} -func (f *filesystem) StateSave(stateSinkObject state.Sink) { - f.beforeSave() - stateSinkObject.Save(0, &f.Filesystem) - stateSinkObject.Save(1, &f.devMinor) +func (fs *filesystem) StateSave(stateSinkObject state.Sink) { + fs.beforeSave() + stateSinkObject.Save(0, &fs.Filesystem) + stateSinkObject.Save(1, &fs.devMinor) } -func (f *filesystem) afterLoad() {} +func (fs *filesystem) afterLoad() {} -func (f *filesystem) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &f.Filesystem) - stateSourceObject.Load(1, &f.devMinor) +func (fs *filesystem) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &fs.Filesystem) + stateSourceObject.Load(1, &fs.devMinor) } func (i *inode) StateTypeName() string { |