diff options
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 |