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

Bug fix to TBScriptLock() call.

parent 45fd6175
......@@ -982,7 +982,8 @@ sub vz_vnodeCreate {
"snapshot size $snapSize MB.\n";
}
if (TBScriptLock($imagelockname, TBSCRIPTLOCK_GLOBALWAIT(), 1800)
# Plain old serial lock.
if (TBScriptLock($imagelockname, 0, 1800)
!= TBSCRIPTLOCK_OKAY()) {
fatal("Could not get $imagelockname lock after a long time!");
}
......
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