summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-26 00:20:54 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-26 00:20:54 +0000
commit563b022ea4a0de483ea24d55513558b7c21d1d5e (patch)
treea5fafa8c2edce26670574e0f6751350880707dbc /pkg/sentry/fs
parente76e71abe149d61b70cd54fdc7426b133cf80b2e (diff)
parente98ce4a2c681855b6b4f2c1298484f60014e4b88 (diff)
Merge e98ce4a2 (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r--pkg/sentry/fs/tmpfs/fs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/fs/tmpfs/fs.go b/pkg/sentry/fs/tmpfs/fs.go
index a5fcdf969..881dd89b0 100644
--- a/pkg/sentry/fs/tmpfs/fs.go
+++ b/pkg/sentry/fs/tmpfs/fs.go
@@ -133,6 +133,9 @@ func (f *Filesystem) Mount(ctx context.Context, device string, flags fs.MountSou
}
// Construct a mount which will follow the cache options provided.
+ //
+ // TODO(gvisor.dev/issue/179): There should be no reason to disable
+ // caching once bind mounts are properly supported.
var msrc *fs.MountSource
switch options[cacheKey] {
case "", cacheAll: