[Zetaback-devel] [zetaback commit] r154 - branches/sendr

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Wed Nov 11 14:31:00 EST 2009


Author: mark
Date: 2009-11-11 14:30:59 -0500 (Wed, 11 Nov 2009)
New Revision: 154

Modified:
   branches/sendr/zetaback.in
Log:
Delete lock files for .list when unlocking

Modified: branches/sendr/zetaback.in
===================================================================
--- branches/sendr/zetaback.in	2009-11-11 19:30:54 UTC (rev 153)
+++ branches/sendr/zetaback.in	2009-11-11 19:30:59 UTC (rev 154)
@@ -1364,7 +1364,7 @@
       unless($NEUTERED || $backup_type eq 'no') {
         # attempt to lock this action, if it fails, skip -- someone else is working it.
         next unless(lock($host, dir_encode($diskname), 1));
-        unlock($host, '.list');
+        unlock($host, '.list', 1);
 
         if($backup_type eq 'full') {
           eval { zfs_full_backup($host, $diskname, $store); };
@@ -1415,7 +1415,7 @@
       $suppress{"$host:$diskname"} = 1;
       last if($took_action);
     }
-    unlock($host, '.list');
+    unlock($host, '.list', 1);
   }
 }
 



More information about the Zetaback-devel mailing list