diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-13 00:22:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-13 00:22:21 +0000 |
commit | dacf10b01cbdac8d2cc6b002822a928c0397e408 (patch) | |
tree | bf7c592faf401ce1a0854e770b0b40cd5eadc912 /pkg/sentry/fsimpl/tmpfs | |
parent | 6475914b04e69d1729028739ef688e452f034f70 (diff) | |
parent | 42b610d56750b4bb8e3d69b680e4fb538f8fb554 (diff) |
Merge release-20200810.0-20-g42b610d56 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/tmpfs')
-rw-r--r-- | pkg/sentry/fsimpl/tmpfs/filesystem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/tmpfs/filesystem.go b/pkg/sentry/fsimpl/tmpfs/filesystem.go index 065812065..a4864df53 100644 --- a/pkg/sentry/fsimpl/tmpfs/filesystem.go +++ b/pkg/sentry/fsimpl/tmpfs/filesystem.go @@ -320,7 +320,7 @@ func (fs *filesystem) OpenAt(ctx context.Context, rp *vfs.ResolvingPath, opts vf fs.mu.Lock() defer fs.mu.Unlock() if rp.Done() { - // Reject attempts to open directories with O_CREAT. + // Reject attempts to open mount root directory with O_CREAT. if rp.MustBeDir() { return nil, syserror.EISDIR } |