mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
- Reset maintainership PR: ports/108713 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
16 lines
337 B
C
16 lines
337 B
C
--- unionfs.c.orig Mon Aug 7 07:20:13 2006
|
|
+++ unionfs.c Tue Aug 8 13:53:17 2006
|
|
@@ -188,12 +188,7 @@
|
|
|
|
if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0;
|
|
|
|
- int res;
|
|
- if (isdatasync) {
|
|
- res = fdatasync(fi->fh);
|
|
- } else {
|
|
- res = fsync(fi->fh);
|
|
- }
|
|
+ int res = fsync(fi->fh);
|
|
|
|
if (res == -1) return -errno;
|
|
|