--- ./librepo/checksum.c_orig	2024-12-20 01:01:42.606075314 -0600
+++ ./librepo/checksum.c	2024-12-18 07:57:07.229506990 -0600
@@ -273,6 +273,7 @@
 
     *matches = (strcmp(expected, checksum)) ? FALSE : TRUE;
 
+#if 0
     if (fsync(fd) != 0) {
         if (errno == EROFS || errno == EINVAL) {
             g_debug("fsync failed: %s", strerror(errno));
@@ -283,6 +284,7 @@
             return FALSE;
         }
     }
+#endif
 
     if (caching && *matches && timestamp != -1) {
         // Store timestamp and checksum as extended file attribute if caching is enabled
