summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fsutil
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/fsutil')
-rw-r--r--pkg/sentry/fs/fsutil/fsutil_impl_state_autogen.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkg/sentry/fs/fsutil/fsutil_impl_state_autogen.go b/pkg/sentry/fs/fsutil/fsutil_impl_state_autogen.go
index b7f95bde7..9671c2349 100644
--- a/pkg/sentry/fs/fsutil/fsutil_impl_state_autogen.go
+++ b/pkg/sentry/fs/fsutil/fsutil_impl_state_autogen.go
@@ -21,7 +21,8 @@ func (s *DirtySet) beforeSave() {}
// +checklocksignore
func (s *DirtySet) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
- var rootValue *DirtySegmentDataSlices = s.saveRoot()
+ var rootValue *DirtySegmentDataSlices
+ rootValue = s.saveRoot()
stateSinkObject.SaveValue(0, rootValue)
}
@@ -124,7 +125,8 @@ func (s *FileRangeSet) beforeSave() {}
// +checklocksignore
func (s *FileRangeSet) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
- var rootValue *FileRangeSegmentDataSlices = s.saveRoot()
+ var rootValue *FileRangeSegmentDataSlices
+ rootValue = s.saveRoot()
stateSinkObject.SaveValue(0, rootValue)
}
@@ -227,7 +229,8 @@ func (s *FrameRefSet) beforeSave() {}
// +checklocksignore
func (s *FrameRefSet) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
- var rootValue *FrameRefSegmentDataSlices = s.saveRoot()
+ var rootValue *FrameRefSegmentDataSlices
+ rootValue = s.saveRoot()
stateSinkObject.SaveValue(0, rootValue)
}