mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-15 01:03:14 +09:00
Lock for any missing unlock callback during creation
This commit is contained in:
1 parent
c871bb9842
commit
13eb030edb
1 file changed
+6
@@ -1080,6 +1080,12 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
|
||||
goto error_update;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//Check for missing unlock callbacks during creation
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
Nebula::instance().get_lcm()->trigger(LCMAction::DISK_LOCK_SUCCESS, oid);
|
||||
|
||||
return 0;
|
||||
|
||||
error_update:
|
||||
|
||||
Reference in new issue
Block a user