summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dev
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/dev
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/fs/dev')
-rw-r--r--pkg/sentry/fs/dev/dev_state_autogen.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/fs/dev/dev_state_autogen.go b/pkg/sentry/fs/dev/dev_state_autogen.go
index 09e71c0c8..958ddf698 100644
--- a/pkg/sentry/fs/dev/dev_state_autogen.go
+++ b/pkg/sentry/fs/dev/dev_state_autogen.go
@@ -155,27 +155,27 @@ func (n *nullFileOperations) afterLoad() {}
func (n *nullFileOperations) StateLoad(stateSourceObject state.Source) {
}
-func (z *zeroDevice) StateTypeName() string {
+func (zd *zeroDevice) StateTypeName() string {
return "pkg/sentry/fs/dev.zeroDevice"
}
-func (z *zeroDevice) StateFields() []string {
+func (zd *zeroDevice) StateFields() []string {
return []string{
"nullDevice",
}
}
-func (z *zeroDevice) beforeSave() {}
+func (zd *zeroDevice) beforeSave() {}
-func (z *zeroDevice) StateSave(stateSinkObject state.Sink) {
- z.beforeSave()
- stateSinkObject.Save(0, &z.nullDevice)
+func (zd *zeroDevice) StateSave(stateSinkObject state.Sink) {
+ zd.beforeSave()
+ stateSinkObject.Save(0, &zd.nullDevice)
}
-func (z *zeroDevice) afterLoad() {}
+func (zd *zeroDevice) afterLoad() {}
-func (z *zeroDevice) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &z.nullDevice)
+func (zd *zeroDevice) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &zd.nullDevice)
}
func (z *zeroFileOperations) StateTypeName() string {