Commit fe05b8b2 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor tweak to locking.

parent a063f131
......@@ -631,9 +631,8 @@ sub vz_vnodeCreate {
if ((my $locked = TBScriptLock($imagelockname,
TBSCRIPTLOCK_GLOBALWAIT(), 1800))
!= TBSCRIPTLOCK_OKAY()) {
# return 0
# if ($locked == TBSCRIPTLOCK_IGNORE());
print STDERR "Could not get the $imagelockname lock after a long time!\n";
print STDERR
"Could not get the $imagelockname lock after a long time!\n";
return -1;
}
......@@ -713,9 +712,8 @@ sub vz_vnodeCreate {
if ((my $locked = TBScriptLock($imagelockname,
TBSCRIPTLOCK_GLOBALWAIT(), 1800))
!= TBSCRIPTLOCK_OKAY()) {
# return 0
# if ($locked == TBSCRIPTLOCK_IGNORE());
print STDERR "Could not get the $imagelockname lock after a long time!\n";
print STDERR
"Could not get the $imagelockname lock after a long time!\n";
return -1;
}
if ($DOLVM) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment