summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ramfs
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/fs/ramfs
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fs/ramfs')
-rw-r--r--pkg/sentry/fs/ramfs/ramfs_state_autogen.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkg/sentry/fs/ramfs/ramfs_state_autogen.go b/pkg/sentry/fs/ramfs/ramfs_state_autogen.go
index e4943e646..482d5d391 100644
--- a/pkg/sentry/fs/ramfs/ramfs_state_autogen.go
+++ b/pkg/sentry/fs/ramfs/ramfs_state_autogen.go
@@ -38,30 +38,30 @@ func (d *Dir) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(3, &d.dentryMap)
}
-func (d *dirFileOperations) StateTypeName() string {
+func (dfo *dirFileOperations) StateTypeName() string {
return "pkg/sentry/fs/ramfs.dirFileOperations"
}
-func (d *dirFileOperations) StateFields() []string {
+func (dfo *dirFileOperations) StateFields() []string {
return []string{
"dirCursor",
"dir",
}
}
-func (d *dirFileOperations) beforeSave() {}
+func (dfo *dirFileOperations) beforeSave() {}
-func (d *dirFileOperations) StateSave(stateSinkObject state.Sink) {
- d.beforeSave()
- stateSinkObject.Save(0, &d.dirCursor)
- stateSinkObject.Save(1, &d.dir)
+func (dfo *dirFileOperations) StateSave(stateSinkObject state.Sink) {
+ dfo.beforeSave()
+ stateSinkObject.Save(0, &dfo.dirCursor)
+ stateSinkObject.Save(1, &dfo.dir)
}
-func (d *dirFileOperations) afterLoad() {}
+func (dfo *dirFileOperations) afterLoad() {}
-func (d *dirFileOperations) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &d.dirCursor)
- stateSourceObject.Load(1, &d.dir)
+func (dfo *dirFileOperations) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &dfo.dirCursor)
+ stateSourceObject.Load(1, &dfo.dir)
}
func (s *Socket) StateTypeName() string {