[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3819 - trunk/OpenDNSSEC/signer/src/daemon

Matthijs Mekking matthijs at nlnetlabs.nl
Fri Aug 27 11:35:40 CEST 2010


Author: matthijs
Date: 2010-08-27 11:35:39 +0200 (Fri, 27 Aug 2010)
New Revision: 3819

Modified:
   trunk/OpenDNSSEC/signer/src/daemon/cmdhandler.c
Log:
no need to lock task list on ods-signer clear

Modified: trunk/OpenDNSSEC/signer/src/daemon/cmdhandler.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/daemon/cmdhandler.c	2010-08-27 08:59:08 UTC (rev 3818)
+++ trunk/OpenDNSSEC/signer/src/daemon/cmdhandler.c	2010-08-27 09:35:39 UTC (rev 3819)
@@ -277,11 +277,7 @@
     se_log_assert(tbd);
     se_log_assert(cmdc);
     se_log_assert(cmdc->engine);
-    se_log_assert(cmdc->engine->tasklist);
 
-    /* lock tasklist */
-    lock_basic_lock(&cmdc->engine->tasklist->tasklist_lock);
-
     tmpname = se_build_path(tbd, ".unsorted", 0);
     unlink(tmpname);
     se_free((void*)tmpname);
@@ -294,10 +290,6 @@
     unlink(tmpname);
     se_free((void*)tmpname);
 
-    /* unlock tasklist */
-    lock_basic_unlock(&cmdc->engine->tasklist->tasklist_lock);
-
-
     (void)snprintf(buf, ODS_SE_MAXLINE, "Internal information about "
         "%s cleared", tbd?tbd:"(null)");
     se_writen(sockfd, buf, strlen(buf));




More information about the Opendnssec-commits mailing list