summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/pipe/buffers.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/pipe/buffers.go')
-rw-r--r--pkg/sentry/kernel/pipe/buffers.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/sentry/kernel/pipe/buffers.go b/pkg/sentry/kernel/pipe/buffers.go
index fa8045910..54e059f8b 100644
--- a/pkg/sentry/kernel/pipe/buffers.go
+++ b/pkg/sentry/kernel/pipe/buffers.go
@@ -14,16 +14,12 @@
package pipe
-import (
- "gvisor.googlesource.com/gvisor/pkg/ilist"
-)
-
// Buffer encapsulates a queueable byte buffer that can
// easily be truncated. It is designed only for use with pipes.
//
// +stateify savable
type Buffer struct {
- ilist.Entry
+ bufferEntry
data []byte
}