summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-unionfs/files/patch-unionfs.c
blob: 884a3448e3665d21c43be973e9c320b210a84037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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;