Re: [lxc-devel] [PATCH] lxccontainer: update locking comment

2013-05-31 Thread Stéphane Graber
On 05/31/2013 09:13 AM, Serge Hallyn wrote: > Update the LOCKING comment. > > Take mem_lock in want_daemonize. > > convert lxcapi_destroy to not use privlock/slock by hand. > > Fix a coverity-found potential dereference of NULL c->lxc_conf. > > api_cgroup_get_item() and api_cgroup_set_item(): u

[lxc-devel] [PATCH] lxccontainer: update locking comment

2013-05-31 Thread Serge Hallyn
Update the LOCKING comment. Take mem_lock in want_daemonize. convert lxcapi_destroy to not use privlock/slock by hand. Fix a coverity-found potential dereference of NULL c->lxc_conf. api_cgroup_get_item() and api_cgroup_set_item(): use disklock, not memlock, since the values are set through the