mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
Lock for any missing unlock callback during creation
This commit is contained in:
parent
c871bb9842
commit
13eb030edb
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user