Commit Diff


commit - d00235d81cec70db37ca306ea1db137a5464982e
commit + c4c6774f44148ea66dc566dfdcf36f531f9e5291
blob - dc3cb36672a916a182e6a7c9d4c78e3605e600eb
blob + 0c14405144bcfbc6df95fa7cd831cf3e86183046
--- gotwebd/got_operations.c
+++ gotwebd/got_operations.c
@@ -63,9 +63,6 @@ got_gotweb_closefile(FILE *f)
 	if (err == NULL && ftruncate(fileno(f), 0) == -1)
 		err = got_error_from_errno("ftruncate");
 
-	if (err == NULL && fsync(fileno(f)) == -1)
-		err = got_error_from_errno("fsync");
-
 	if (fclose(f) == EOF && err == NULL)
 		err = got_error_from_errno("fclose");