diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2019-07-29 19:16:07 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-29 19:17:27 -0700 |
commit | ddf25e3331a18a74d0e01d74fee7f82963fe778c (patch) | |
tree | cdf7054d670703d929b01761012823adc69e90a0 /pkg/sentry/fs/ext/inline_file.go | |
parent | b765eb45894ea426d2c6d167b6ceb662db6ff4d2 (diff) |
ext: extent reader implementation.
PiperOrigin-RevId: 260629559
Diffstat (limited to 'pkg/sentry/fs/ext/inline_file.go')
-rw-r--r-- | pkg/sentry/fs/ext/inline_file.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/fs/ext/inline_file.go b/pkg/sentry/fs/ext/inline_file.go index dd93ee2e1..8f1395567 100644 --- a/pkg/sentry/fs/ext/inline_file.go +++ b/pkg/sentry/fs/ext/inline_file.go @@ -40,7 +40,8 @@ func newInlineFile(regFile regularFile) *inlineFile { return file } -// inlineReader implements io.Reader which can read the underlying data. +// inlineReader implements io.Reader which can read the underlying data. This +// is not thread safe. type inlineReader struct { offset uint64 data []byte |