summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/memxattr
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/vfs/memxattr
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/sentry/vfs/memxattr')
-rw-r--r--pkg/sentry/vfs/memxattr/memxattr_state_autogen.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/vfs/memxattr/memxattr_state_autogen.go b/pkg/sentry/vfs/memxattr/memxattr_state_autogen.go
index 28a4ae569..eafeac473 100644
--- a/pkg/sentry/vfs/memxattr/memxattr_state_autogen.go
+++ b/pkg/sentry/vfs/memxattr/memxattr_state_autogen.go
@@ -6,27 +6,27 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (s *SimpleExtendedAttributes) StateTypeName() string {
+func (x *SimpleExtendedAttributes) StateTypeName() string {
return "pkg/sentry/vfs/memxattr.SimpleExtendedAttributes"
}
-func (s *SimpleExtendedAttributes) StateFields() []string {
+func (x *SimpleExtendedAttributes) StateFields() []string {
return []string{
"xattrs",
}
}
-func (s *SimpleExtendedAttributes) beforeSave() {}
+func (x *SimpleExtendedAttributes) beforeSave() {}
-func (s *SimpleExtendedAttributes) StateSave(stateSinkObject state.Sink) {
- s.beforeSave()
- stateSinkObject.Save(0, &s.xattrs)
+func (x *SimpleExtendedAttributes) StateSave(stateSinkObject state.Sink) {
+ x.beforeSave()
+ stateSinkObject.Save(0, &x.xattrs)
}
-func (s *SimpleExtendedAttributes) afterLoad() {}
+func (x *SimpleExtendedAttributes) afterLoad() {}
-func (s *SimpleExtendedAttributes) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &s.xattrs)
+func (x *SimpleExtendedAttributes) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &x.xattrs)
}
func init() {