Re: [libvirt] [PATCH v2 08/10] vz: remove vzDriverLock/Unlock function

2016-04-12 Thread Nikolay Shirokovskiy
On 07.04.2016 23:10, Maxim Nestratov wrote: > We don't need them anymore as all pointers within vzDriver structure > are not changed during the time it exists. > Where we still need to synchronize we use virObjectLock/Unlock as far > as vzDriver is lockable object. > > Signed-off-by: Maxim Nestr

[libvirt] [PATCH v2 08/10] vz: remove vzDriverLock/Unlock function

2016-04-07 Thread Maxim Nestratov
We don't need them anymore as all pointers within vzDriver structure are not changed during the time it exists. Where we still need to synchronize we use virObjectLock/Unlock as far as vzDriver is lockable object. Signed-off-by: Maxim Nestratov --- src/vz/vz_driver.c | 35 ---