All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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

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