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/fs/proc/seqfile | |
parent | 578aece760dd47a06a686f82efab5b650807d4c5 (diff) | |
parent | 743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff) |
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fs/proc/seqfile')
-rw-r--r-- | pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go b/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go index cc107af96..ab08bbaa3 100644 --- a/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go +++ b/pkg/sentry/fs/proc/seqfile/seqfile_state_autogen.go @@ -70,27 +70,27 @@ func (s *SeqFile) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(5, &s.lastRead) } -func (s *seqFileOperations) StateTypeName() string { +func (sfo *seqFileOperations) StateTypeName() string { return "pkg/sentry/fs/proc/seqfile.seqFileOperations" } -func (s *seqFileOperations) StateFields() []string { +func (sfo *seqFileOperations) StateFields() []string { return []string{ "seqFile", } } -func (s *seqFileOperations) beforeSave() {} +func (sfo *seqFileOperations) beforeSave() {} -func (s *seqFileOperations) StateSave(stateSinkObject state.Sink) { - s.beforeSave() - stateSinkObject.Save(0, &s.seqFile) +func (sfo *seqFileOperations) StateSave(stateSinkObject state.Sink) { + sfo.beforeSave() + stateSinkObject.Save(0, &sfo.seqFile) } -func (s *seqFileOperations) afterLoad() {} +func (sfo *seqFileOperations) afterLoad() {} -func (s *seqFileOperations) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &s.seqFile) +func (sfo *seqFileOperations) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &sfo.seqFile) } func init() { |