From f7c99717ea116cc533ea548a40ee395e484343d3 Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 29 Aug 2016 06:32:30 +0000 Subject: MFC r304182 (by ed): Let CloudABI use fdatasync() as well. MFC r304185 (by ed): Eliminate use of sys_fsync() and sys_fdatasync(). --- sys/compat/linux/linux_file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/compat/linux/linux_file.c') diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index d3af860..b5126f4 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1013,10 +1013,8 @@ linux_fdatasync(td, uap) struct thread *td; struct linux_fdatasync_args *uap; { - struct fsync_args bsd; - bsd.fd = uap->fd; - return (sys_fsync(td, &bsd)); + return (kern_fsync(td, uap->fd, false)); } int -- cgit v1.1