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 <mprivozn(a)redhat.com>
---
src/lxc/lxc_domain.c | 17 ++++++++++++++---
src/lxc/lxc_domain.h | 1 +
src/lxc/lxc_driver.c | 19 ++++++++-----------
3 files changed, 23 insertions(+), 14 deletions(-)
Reviewed-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>