summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-04-10 11:26:10 -0700
committerShentubot <shentubot@google.com>2019-04-10 11:27:16 -0700
commit0a0619216ec9ca96c181dd69d9bf31e7762090cb (patch)
treec440473917bd7841b51f7a1e47c21352a5dbeefe /pkg/sentry/fs/BUILD
parent7140b1fdca1cc9c9c711955a49e6e7fc41f339d9 (diff)
Start saving MountSource.DirentCache.
DirentCache is already a savable type, and it ensures that it is empty at the point of Save. There is no reason not to save it along with the MountSource. This did uncover an issue where not all MountSources were properly flushed before Save. If a mount point has an open file and is then unmounted, we save the MountSource without flushing it first. This CL also fixes that by flushing all MountSources for all open FDs on Save. PiperOrigin-RevId: 242906637 Change-Id: I3acd9d52b6ce6b8c989f835a408016cb3e67018f
Diffstat (limited to 'pkg/sentry/fs/BUILD')
-rw-r--r--pkg/sentry/fs/BUILD1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/fs/BUILD b/pkg/sentry/fs/BUILD
index dda6a0c9f..1742d3a65 100644
--- a/pkg/sentry/fs/BUILD
+++ b/pkg/sentry/fs/BUILD
@@ -32,7 +32,6 @@ go_library(
"mock.go",
"mount.go",
"mount_overlay.go",
- "mount_state.go",
"mounts.go",
"offset.go",
"overlay.go",