From 12bc7834dccdcd21353fc476dc76a5c9bc0d47bb Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Thu, 17 Jan 2019 11:05:40 -0800 Subject: Allow fsync on a directory. PiperOrigin-RevId: 229781337 Change-Id: I1f946cff2771714fb1abd83a83ed454e9febda0a --- pkg/sentry/fs/fsutil/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry/fs/fsutil/file.go') 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 } -- cgit v1.2.3