summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/memdev/zero.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/devices/memdev/zero.go')
-rw-r--r--pkg/sentry/devices/memdev/zero.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/devices/memdev/zero.go b/pkg/sentry/devices/memdev/zero.go
index 3b1372b9e..c6f15054d 100644
--- a/pkg/sentry/devices/memdev/zero.go
+++ b/pkg/sentry/devices/memdev/zero.go
@@ -44,6 +44,7 @@ type zeroFD struct {
vfsfd vfs.FileDescription
vfs.FileDescriptionDefaultImpl
vfs.DentryMetadataFileDescriptionImpl
+ vfs.NoLockFD
}
// Release implements vfs.FileDescriptionImpl.Release.