summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/host
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-06-18 04:24:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-06-18 04:24:52 +0000
commitb07f97837cef8b28ea017efba0ad55b7463c00d8 (patch)
tree5f20025425371a12a7384e190ea4a9564349ff7a /pkg/sentry/fsimpl/host
parent522d42d438d3ff7e962b4774eeb68514f254020e (diff)
parent6e0c170522279ca72119b17c41e2e1dc93c49d6a (diff)
Merge release-20200608.0-80-g6e0c17052 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/host')
-rw-r--r--pkg/sentry/fsimpl/host/host.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/host/host.go b/pkg/sentry/fsimpl/host/host.go
index 2b084860e..a3a312edb 100644
--- a/pkg/sentry/fsimpl/host/host.go
+++ b/pkg/sentry/fsimpl/host/host.go
@@ -690,7 +690,8 @@ func (f *fileDescription) Seek(_ context.Context, offset int64, whence int32) (i
// Sync implements FileDescriptionImpl.
func (f *fileDescription) Sync(context.Context) error {
- // TODO(gvisor.dev/issue/1672): Currently we do not support the SyncData optimization, so we always sync everything.
+ // TODO(gvisor.dev/issue/1672): Currently we do not support the SyncData
+ // optimization, so we always sync everything.
return unix.Fsync(f.inode.hostFD)
}