summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/file_description.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-01 03:51:31 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-01 03:51:31 +0000
commitf74036544bea9055cb305e060c29786134dace58 (patch)
treed840cdbd306c88daa7eecf758a906ff56b220b44 /pkg/sentry/vfs/file_description.go
parent53738875c7dd553fcace26ceea60bd734dfdb407 (diff)
parent20d571b0c181023cc02521ad746a2b6d91e6794d (diff)
Merge release-20200622.1-45-g20d571b0c (automated)
Diffstat (limited to 'pkg/sentry/vfs/file_description.go')
-rw-r--r--pkg/sentry/vfs/file_description.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/sentry/vfs/file_description.go b/pkg/sentry/vfs/file_description.go
index cd1db14ac..eb5dfd7e2 100644
--- a/pkg/sentry/vfs/file_description.go
+++ b/pkg/sentry/vfs/file_description.go
@@ -91,8 +91,7 @@ type FileDescription struct {
// FileDescriptionOptions contains options to FileDescription.Init().
type FileDescriptionOptions struct {
- // If AllowDirectIO is true, allow O_DIRECT to be set on the file. This is
- // usually only the case if O_DIRECT would actually have an effect.
+ // If AllowDirectIO is true, allow O_DIRECT to be set on the file.
AllowDirectIO bool
// If DenyPRead is true, calls to FileDescription.PRead() return ESPIPE.