summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/pipefs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/sentry/fsimpl/pipefs
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/pipefs')
-rw-r--r--pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go b/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go
index 384af5bf0..474f83cdf 100644
--- a/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go
+++ b/pkg/sentry/fsimpl/pipefs/pipefs_state_autogen.go
@@ -25,30 +25,30 @@ func (f *filesystemType) afterLoad() {}
func (f *filesystemType) StateLoad(stateSourceObject state.Source) {
}
-func (f *filesystem) StateTypeName() string {
+func (fs *filesystem) StateTypeName() string {
return "pkg/sentry/fsimpl/pipefs.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 {