diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-12 08:44:47 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-12 08:44:47 +0000 |
commit | 5bd8f886db24151734e03497661e5521d1dfcc48 (patch) | |
tree | db4948a593ba768c6b14796aa715ffd84473d0a2 /pkg/sentry/fsimpl/fuse | |
parent | 7e3845c246594cf53f846a6b3adf0b601368dd52 (diff) | |
parent | 3416a3db77bf80cc1100b7d206fe0b68d424d7c9 (diff) |
Merge release-20210726.0-57-g3416a3db7 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/fuse')
-rw-r--r-- | pkg/sentry/fsimpl/fuse/fuse_state_autogen.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go b/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go index f61e010dc..711a6c425 100644 --- a/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go +++ b/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go @@ -42,7 +42,8 @@ func (conn *connection) beforeSave() {} // +checklocksignore func (conn *connection) StateSave(stateSinkObject state.Sink) { conn.beforeSave() - var initializedChanValue bool = conn.saveInitializedChan() + var initializedChanValue bool + initializedChanValue = conn.saveInitializedChan() stateSinkObject.SaveValue(3, initializedChanValue) stateSinkObject.Save(0, &conn.fd) stateSinkObject.Save(1, &conn.attributeVersion) @@ -144,7 +145,8 @@ func (fd *DeviceFD) beforeSave() {} // +checklocksignore func (fd *DeviceFD) StateSave(stateSinkObject state.Sink) { fd.beforeSave() - var fullQueueChValue int = fd.saveFullQueueCh() + var fullQueueChValue int + fullQueueChValue = fd.saveFullQueueCh() stateSinkObject.SaveValue(12, fullQueueChValue) stateSinkObject.Save(0, &fd.vfsfd) stateSinkObject.Save(1, &fd.FileDescriptionDefaultImpl) |