summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fsutil/file.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-01-17 11:05:40 -0800
committerShentubot <shentubot@google.com>2019-01-17 11:06:59 -0800
commit12bc7834dccdcd21353fc476dc76a5c9bc0d47bb (patch)
tree7679547af34bd09bf9536bb48d821e6e4dcb5db4 /pkg/sentry/fs/fsutil/file.go
parente4d3ca7263291b43cdc49c7553c62608be062cd9 (diff)
Allow fsync on a directory.
PiperOrigin-RevId: 229781337 Change-Id: I1f946cff2771714fb1abd83a83ed454e9febda0a
Diffstat (limited to 'pkg/sentry/fs/fsutil/file.go')
-rw-r--r--pkg/sentry/fs/fsutil/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/fsutil/file.go b/pkg/sentry/fs/fsutil/file.go
index 0970f782b..32f8133fb 100644
--- a/pkg/sentry/fs/fsutil/file.go
+++ b/pkg/sentry/fs/fsutil/file.go
@@ -228,10 +228,10 @@ func (FileNoIoctl) Ioctl(ctx context.Context, io usermem.IO, args arch.SyscallAr
type DirFileOperations struct {
waiter.AlwaysReady
FileGenericSeek
- FileNoFsync
FileNoIoctl
FileNoMMap
FileNoopFlush
+ FileNoopFsync
FileNoopRelease
}