[vhffs-dev] [1282] This was used to check the coherency of hash tables while running, now we are sure there are, check disabled.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1282
Author:   gradator
Date:     2008-10-13 21:58:43 +0200 (Mon, 13 Oct 2008)

Log Message:
-----------
This was used to check the coherency of hash tables while running, now we are sure there are, check disabled.

Modified Paths:
--------------
    trunk/vhffs-fssync/vhffsfssync_master.c


Modified: trunk/vhffs-fssync/vhffsfssync_master.c
===================================================================
--- trunk/vhffs-fssync/vhffsfssync_master.c	2008-10-13 19:54:56 UTC (rev 1281)
+++ trunk/vhffs-fssync/vhffsfssync_master.c	2008-10-13 19:58:43 UTC (rev 1282)
@@ -1139,9 +1139,6 @@
 #if DEBUG_INOTIFY
 	printf("+ %d %s\n", wd, pathname);
 #endif
-	if(g_hash_table_size(vhffsfssync_wd_to_path) != g_hash_table_size(vhffsfssync_path_to_wd))  {
-		exit(-1);
-	}
 	return wd;
 }
 
@@ -1166,9 +1163,6 @@
 #endif
 	g_hash_table_remove(vhffsfssync_path_to_wd, pathname);
 	g_hash_table_remove(vhffsfssync_wd_to_path, &wd);
-	if(g_hash_table_size(vhffsfssync_wd_to_path) != g_hash_table_size(vhffsfssync_path_to_wd))  {
-		exit(-1);
-	}
 	return inotify_rm_watch(inotifyfd, wd);
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/