summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/sockfs
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fsimpl/sockfs')
-rw-r--r--pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go b/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go
index 6a6607555..cf6eddef2 100644
--- a/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go
+++ b/pkg/sentry/fsimpl/sockfs/sockfs_state_autogen.go
@@ -16,12 +16,14 @@ func (fsType *filesystemType) StateFields() []string {
func (fsType *filesystemType) beforeSave() {}
+// +checklocksignore
func (fsType *filesystemType) StateSave(stateSinkObject state.Sink) {
fsType.beforeSave()
}
func (fsType *filesystemType) afterLoad() {}
+// +checklocksignore
func (fsType *filesystemType) StateLoad(stateSourceObject state.Source) {
}
@@ -38,6 +40,7 @@ func (fs *filesystem) StateFields() []string {
func (fs *filesystem) beforeSave() {}
+// +checklocksignore
func (fs *filesystem) StateSave(stateSinkObject state.Sink) {
fs.beforeSave()
stateSinkObject.Save(0, &fs.Filesystem)
@@ -46,6 +49,7 @@ func (fs *filesystem) StateSave(stateSinkObject state.Sink) {
func (fs *filesystem) afterLoad() {}
+// +checklocksignore
func (fs *filesystem) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &fs.Filesystem)
stateSourceObject.Load(1, &fs.devMinor)
@@ -66,6 +70,7 @@ func (i *inode) StateFields() []string {
func (i *inode) beforeSave() {}
+// +checklocksignore
func (i *inode) StateSave(stateSinkObject state.Sink) {
i.beforeSave()
stateSinkObject.Save(0, &i.InodeAttrs)
@@ -76,6 +81,7 @@ func (i *inode) StateSave(stateSinkObject state.Sink) {
func (i *inode) afterLoad() {}
+// +checklocksignore
func (i *inode) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &i.InodeAttrs)
stateSourceObject.Load(1, &i.InodeNoopRefCount)