Re: [libvirt] [PATCH v2 09/11] lxc_domain: Allow lxcDomainObjListAdd to keep job upon return

2019-06-06 Thread Nikolay Shirokovskiy
On 05.06.2019 12:09, Michal Privoznik wrote: > In some cases, caller of lxcDomainObjListAdd() tries to acquire > MODIFY job after the call. Let's adjust lxcDomainObjListAdd() so > that it will keep the job set upon return (if requested by > caller). > > Signed-off-by: Michal Privoznik > --- >

[libvirt] [PATCH v2 09/11] lxc_domain: Allow lxcDomainObjListAdd to keep job upon return

2019-06-05 Thread Michal Privoznik
In some cases, caller of lxcDomainObjListAdd() tries to acquire MODIFY job after the call. Let's adjust lxcDomainObjListAdd() so that it will keep the job set upon return (if requested by caller). Signed-off-by: Michal Privoznik --- src/lxc/lxc_domain.c | 17 ++---