]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-namei-fsync-less-20070910
authorDerrick Brashear <shadow@dementia.org>
Mon, 10 Sep 2007 22:55:58 +0000 (22:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 10 Sep 2007 22:55:58 +0000 (22:55 +0000)
remove sync() call from Windows build

(cherry picked from commit 049c95d74cab7ba99b99f9634a32f38058c86fb1)

src/vol/ihandle.c

index 2713bba8a8f0a030f389ac378f985564fb406f2e..c502d339ff046e58b43a7af56706215f9044cb3a 100644 (file)
@@ -913,8 +913,10 @@ ih_sync_thread() {
        IOMGR_Sleep(60);
 #endif /* AFS_PTHREAD_ENV */
 
-       sync();
-       ih_sync_all();
+#ifndef AFS_NT40_ENV
+        sync();
+#endif
+        ih_sync_all();
     }
 }