Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f29fcf6b
Commit
f29fcf6b
authored
Apr 17, 2014
by
Leigh B Stoller
Browse files
Bug fix to TBScriptLock() call.
parent
45fd6175
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/openvz/libvnode_openvz.pm
View file @
f29fcf6b
...
...
@@ -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!
");
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment