summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/gofer
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/gofer')
-rw-r--r--pkg/sentry/fs/gofer/gofer_state_autogen.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/fs/gofer/gofer_state_autogen.go b/pkg/sentry/fs/gofer/gofer_state_autogen.go
index d22ecc3c2..e36638c37 100644
--- a/pkg/sentry/fs/gofer/gofer_state_autogen.go
+++ b/pkg/sentry/fs/gofer/gofer_state_autogen.go
@@ -130,7 +130,8 @@ func (i *inodeFileState) StateFields() []string {
// +checklocksignore
func (i *inodeFileState) StateSave(stateSinkObject state.Sink) {
i.beforeSave()
- var loadingValue struct{} = i.saveLoading()
+ var loadingValue struct{}
+ loadingValue = i.saveLoading()
stateSinkObject.SaveValue(2, loadingValue)
stateSinkObject.Save(0, &i.s)
stateSinkObject.Save(1, &i.sattr)