summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fdpipe
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/fdpipe')
-rw-r--r--pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go b/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
index f946f2ba5..92dcd2391 100644
--- a/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
+++ b/pkg/sentry/fs/fdpipe/fdpipe_state_autogen.go
@@ -19,6 +19,7 @@ func (p *pipeOperations) StateFields() []string {
}
}
+// +checklocksignore
func (p *pipeOperations) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
var flagsValue fs.FileFlags = p.saveFlags()
@@ -27,6 +28,7 @@ func (p *pipeOperations) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(2, &p.readAheadBuffer)
}
+// +checklocksignore
func (p *pipeOperations) StateLoad(stateSourceObject state.Source) {
stateSourceObject.LoadWait(1, &p.opener)
stateSourceObject.Load(2, &p.readAheadBuffer)