summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/mqfs/queue.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fsimpl/mqfs/queue.go')
-rw-r--r--pkg/sentry/fsimpl/mqfs/queue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fsimpl/mqfs/queue.go b/pkg/sentry/fsimpl/mqfs/queue.go
index a8e9bc722..933dbc6ed 100644
--- a/pkg/sentry/fsimpl/mqfs/queue.go
+++ b/pkg/sentry/fsimpl/mqfs/queue.go
@@ -65,8 +65,8 @@ type queueFD struct {
vfsfd vfs.FileDescription
inode kernfs.Inode
- // queue is the queue backing this fd.
- queue *mq.Queue
+ // queue is a view into the queue backing this fd.
+ queue mq.View
}
// Init initializes a queueFD. Mostly copied from DynamicBytesFD.Init, but uses