diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-06-18 04:24:52 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-18 04:24:52 +0000 |
commit | b07f97837cef8b28ea017efba0ad55b7463c00d8 (patch) | |
tree | 5f20025425371a12a7384e190ea4a9564349ff7a /pkg/sentry/fsimpl/gofer | |
parent | 522d42d438d3ff7e962b4774eeb68514f254020e (diff) | |
parent | 6e0c170522279ca72119b17c41e2e1dc93c49d6a (diff) |
Merge release-20200608.0-80-g6e0c17052 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/gofer')
-rw-r--r-- | pkg/sentry/fsimpl/gofer/directory.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/gofer/directory.go b/pkg/sentry/fsimpl/gofer/directory.go index b98218753..480510b2a 100644 --- a/pkg/sentry/fsimpl/gofer/directory.go +++ b/pkg/sentry/fsimpl/gofer/directory.go @@ -299,3 +299,8 @@ func (fd *directoryFD) Seek(ctx context.Context, offset int64, whence int32) (in return 0, syserror.EINVAL } } + +// Sync implements vfs.FileDescriptionImpl.Sync. +func (fd *directoryFD) Sync(ctx context.Context) error { + return fd.dentry().handle.sync(ctx) +} |