summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-11-26 10:20:10 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-11-26 10:20:10 +0000
commit25e5bdab9e01374bafa2540c0e1a29d5c942f6b9 (patch)
treeef5b7ed06fd345780ecfc9dc91a8e3e05fa62eca /sys/compat/linux/linux_file.c
parent5e0c812c7cac108a95e9489b42b921138ee7cc01 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index d14b4a1e4f79..cee65db8a0af 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -880,3 +880,14 @@ linux_getcwd(struct proc *p, struct linux_getcwd_args *args)
}
return (error);
}
+
+int
+linux_fdatasync(p, uap)
+ struct proc *p;
+ struct linux_fdatasync_args *uap;
+{
+ struct fsync_args bsd;
+
+ bsd.fd = uap->fd;
+ return fsync(p, &bsd);
+}